summaryrefslogtreecommitdiff
path: root/packages/xorg-lib/libx11
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-09 13:31:41 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-09 13:31:41 +0000
commita85f58a9138734421bcf7f15a05aaa8e937bcdda (patch)
treeaef56c148f759c080ec6816ec00629e41b6e32fb /packages/xorg-lib/libx11
parent291c516b1eed7d0a61299890bff4d98ff25e5c18 (diff)
libx11: Fix floating-point error on x86_64 buildhost, closes bug 1940
Diffstat (limited to 'packages/xorg-lib/libx11')
-rw-r--r--packages/xorg-lib/libx11/makekeys.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/xorg-lib/libx11/makekeys.diff b/packages/xorg-lib/libx11/makekeys.diff
new file mode 100644
index 0000000000..cea08725ec
--- /dev/null
+++ b/packages/xorg-lib/libx11/makekeys.diff
@@ -0,0 +1,12 @@
+diff -Nru libX11-X11R7.1-1.0.1.org/src/util/makekeys.c libX11-X11R7.1-1.0.1/src/util/makekeys.c
+--- libX11-X11R7.1-1.0.1.org/src/util/makekeys.c 2007-03-08 14:34:34.000000000 +0100
++++ libX11-X11R7.1-1.0.1/src/util/makekeys.c 2007-03-08 14:34:58.000000000 +0100
+@@ -49,7 +49,7 @@
+ KeySym val;
+ } info[KTNUM];
+
+-#define MIN_REHASH 10
++#define MIN_REHASH 15
+ #define MATCHES 10
+
+ char tab[KTNUM];