summaryrefslogtreecommitdiffstats
path: root/main/kbd/kbd-1.15.3-loadkeys-d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/kbd/kbd-1.15.3-loadkeys-d.patch')
-rw-r--r--main/kbd/kbd-1.15.3-loadkeys-d.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/kbd/kbd-1.15.3-loadkeys-d.patch b/main/kbd/kbd-1.15.3-loadkeys-d.patch
deleted file mode 100644
index 73bb7c47f..000000000
--- a/main/kbd/kbd-1.15.3-loadkeys-d.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -up kbd-1.15.3/src/loadkeys.c.orig kbd-1.15.3/src/loadkeys.c
---- kbd-1.15.3/src/loadkeys.c.orig 2011-10-24 13:44:52.222401546 +0200
-+++ kbd-1.15.3/src/loadkeys.c 2011-10-24 13:47:52.413389029 +0200
-@@ -2958,7 +2958,7 @@ int main(int argc, char *argv[])
- close(fd);
- }
-
-- for (i = optind; argv[i]; i++) {
-+ for (i = optind; argv[i] || optd; i++) {
- FILE *f;
- char *ev;
-
-@@ -2974,6 +2974,7 @@ int main(int argc, char *argv[])
- if (optd) {
- /* first read default map - search starts in . */
- optd = 0;
-+ i--;
- if ((f = findfile(DEFMAP, dirpath, suffixes)) == NULL) {
- fprintf(stderr, _("Cannot find %s\n"), DEFMAP);
- exit(EXIT_FAILURE);