libx11: Fix floating-point error on x86_64 buildhost, closes bug 1940
authorOyvind Repvik <nail@nslu2-linux.org>
Fri, 9 Mar 2007 13:31:41 +0000 (13:31 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Fri, 9 Mar 2007 13:31:41 +0000 (13:31 +0000)
packages/xorg-lib/diet-x11/makekeys.diff [new file with mode: 0644]
packages/xorg-lib/diet-x11_X11R7.1-1.0.1.bb
packages/xorg-lib/libx11/makekeys.diff [new file with mode: 0644]
packages/xorg-lib/libx11_X11R7.1-1.0.1.bb

diff --git a/packages/xorg-lib/diet-x11/makekeys.diff b/packages/xorg-lib/diet-x11/makekeys.diff
new file mode 100644 (file)
index 0000000..cea0872
--- /dev/null
@@ -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];
index 52e01dd..81f92a5 100644 (file)
@@ -10,4 +10,5 @@ SRC_URI += "file://X18NCMSstubs.diff;patch=1 \
            file://fix-disable-xlocale.diff;patch=1 \
             file://fix-utf8-wrong-define.patch;patch=1 \
            file://xim.patch;patch=1 \
-           file://xchar2b.patch;patch=1"
+           file://xchar2b.patch;patch=1 \
+           file://makekeys.diff;patch=1"
diff --git a/packages/xorg-lib/libx11/makekeys.diff b/packages/xorg-lib/libx11/makekeys.diff
new file mode 100644 (file)
index 0000000..cea0872
--- /dev/null
@@ -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];
index 64f4585..c6a701d 100644 (file)
@@ -3,6 +3,7 @@ require xorg-lib-common.inc
 PR = "r4"
 
 DESCRIPTION = "Base X libs."
+SRC_URI += "file://makekeys.diff;patch=1"
 
 DEPENDS += " bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
        libxdmcp xf86bigfontproto kbproto inputproto"