aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim 'max_posedon' Melnikau <maxposedon@gmail.com>2009-03-18 11:05:04 +0000
committerMaksim 'max_posedon' Melnikau <maxposedon@gmail.com>2009-03-18 11:05:04 +0000
commit3f4a1d3e593b33bad30aa6aacfdedc25bf2d1468 (patch)
tree99d2aa0e004ccb39e0e66aeddfe92a7138675487 /sys-apps/kbd/files/kbd-1.12-unimap.patch
parentbig cleanup commit, if I broke smth for somebody - sorry (diff)
downloadembedded-cross-3f4a1d3e593b33bad30aa6aacfdedc25bf2d1468.tar.gz
embedded-cross-3f4a1d3e593b33bad30aa6aacfdedc25bf2d1468.tar.bz2
embedded-cross-3f4a1d3e593b33bad30aa6aacfdedc25bf2d1468.zip
rollback changeset r235
Diffstat (limited to 'sys-apps/kbd/files/kbd-1.12-unimap.patch')
-rw-r--r--sys-apps/kbd/files/kbd-1.12-unimap.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/kbd/files/kbd-1.12-unimap.patch b/sys-apps/kbd/files/kbd-1.12-unimap.patch
new file mode 100644
index 0000000..c7ea73c
--- /dev/null
+++ b/sys-apps/kbd/files/kbd-1.12-unimap.patch
@@ -0,0 +1,16 @@
+That silly Debian patch changes the default dir to TRANSDIR.
+This patch corrects that oversight so both work if we ever
+use console-data, also by Debian.
+
+--- kbd-1.12/src/loadunimap.c.orig 2006-08-24 13:48:11.000000000 +0100
++++ kbd-1.12/src/loadunimap.c 2006-08-24 13:49:07.000000000 +0100
+@@ -28,7 +28,7 @@
+ extern char *progname;
+ extern int force;
+
+-static char *unidirpath[] = { "", DATADIR "/" TRANSDIR "/", 0 };
+-static char *unisuffixes[] = { "", ".sfm", ".uni", 0 };
++static char *unidirpath[] = { "", DATADIR "/" UNIMAPDIR "/", DATADIR "/" TRANSDIR "/", 0 };
++static char *unisuffixes[] = { "", ".uni", ".sfm", 0 };
+
+ #ifdef MAIN