main/kbd: fix patch without effect

The patch needs to be applied to a file generated by autohell since we
use the release tarball.
This commit is contained in:
Sertonix 2024-05-22 22:50:17 +02:00 committed by Natanael Copa
parent d6cec462eb
commit 39b2fed17e
2 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kbd
pkgver=2.6.4
pkgrel=1
pkgrel=2
pkgdesc="Tools for configuring the console (keyboard, virtual terminals, etc.)"
url="https://kbd-project.org/"
arch="all"
@ -176,7 +176,7 @@ misc() {
sha512sums="
2bde7a271392f0ac81966af46c4b3568c9e777550fd0b0d1627db158f0b24b8a67f3c0cca84de9b33d43ac8cbb730c1610212c3da071add3559abe6c4397272f kbd-2.6.4.tar.gz
bbf48394551b0219a8115a52b9abfa13c2c555841b0f4b7271f9c999160e0c5bd7f79fbd6a2bdae82bf8a2c47980a00dc3b7a551bfa69f34764d8335167574ee fix-double-kbdfile-open.patch
97bb96d9f943c0b1e6e8ec5f5d98db0c4e07a68127ca1acd4f1f2812a0a72fb7a8daa0d54d847e1359ecb22e9ca4e4148b0e4448504d840794b87e3b9d8c5310 fix-double-kbdfile-open.patch
64b5ab4c362350521da8f507d22c0b77784da99bbe1b32f0c001cd826f63c607e3f9cd6af01f06a61af8bd709760bbf2bb3cfe2010c33925f2987a1af6ef4998 loadkeys.initd
12028796552a5ffed1d5cb19d37fc6a73fb4f2e2bf34d837a81171c7ebee98d6c3f557715bf79706d79ce053b9b2450cd8cf1c4ea045428fb7d8a5915ae3ed78 loadkeys.confd
"

View file

@ -4,9 +4,9 @@ Subject: libkeymap: fix double kbdfile open
when the file descriptor was already opened. Make sure kbdfile_find
isn't called again when kbdfile is found in include_dirpath1.
--- a/src/libkeymap/analyze.l
+++ b/src/libkeymap/analyze.l
@@ -177,7 +177,7 @@ find_standard_incl_file(struct lk_ctx *ctx, char *s, struct kbdfile *fp)
--- a/src/libkeymap/analyze.c
+++ b/src/libkeymap/analyze.c
@@ -938,7 +938,7 @@
i--;
pathname = kbdfile_get_pathname(ctx->stack[i]);