From a85f58a9138734421bcf7f15a05aaa8e937bcdda Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Fri, 9 Mar 2007 13:31:41 +0000 Subject: libx11: Fix floating-point error on x86_64 buildhost, closes bug 1940 --- packages/xorg-lib/diet-x11/makekeys.diff | 12 ++++++++++++ packages/xorg-lib/diet-x11_X11R7.1-1.0.1.bb | 3 ++- packages/xorg-lib/libx11/makekeys.diff | 12 ++++++++++++ packages/xorg-lib/libx11_X11R7.1-1.0.1.bb | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 packages/xorg-lib/diet-x11/makekeys.diff create mode 100644 packages/xorg-lib/libx11/makekeys.diff (limited to 'packages/xorg-lib') diff --git a/packages/xorg-lib/diet-x11/makekeys.diff b/packages/xorg-lib/diet-x11/makekeys.diff new file mode 100644 index 0000000000..cea08725ec --- /dev/null +++ b/packages/xorg-lib/diet-x11/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]; diff --git a/packages/xorg-lib/diet-x11_X11R7.1-1.0.1.bb b/packages/xorg-lib/diet-x11_X11R7.1-1.0.1.bb index 52e01dde75..81f92a5898 100644 --- a/packages/xorg-lib/diet-x11_X11R7.1-1.0.1.bb +++ b/packages/xorg-lib/diet-x11_X11R7.1-1.0.1.bb @@ -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 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]; diff --git a/packages/xorg-lib/libx11_X11R7.1-1.0.1.bb b/packages/xorg-lib/libx11_X11R7.1-1.0.1.bb index 64f4585e0f..c6a701d9cb 100644 --- a/packages/xorg-lib/libx11_X11R7.1-1.0.1.bb +++ b/packages/xorg-lib/libx11_X11R7.1-1.0.1.bb @@ -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" -- cgit v1.2.3