[oe-commits] Stanislav Brabec : libx11-1.1.4: Prevent crash of makekeys (backport from 1 .1.5).

git version control git at git.openembedded.org
Thu May 28 16:57:31 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 19741f0075f94aecdc06da9dff8f00013bcba792
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=19741f0075f94aecdc06da9dff8f00013bcba792

Author: Stanislav Brabec <utx at penguin.cz>
Date:   Thu May 28 16:56:46 2009 +0000

libx11-1.1.4: Prevent crash of makekeys (backport from 1.1.5).

---

 recipes/xorg-lib/libx11_1.1.4.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/xorg-lib/libx11_1.1.4.bb b/recipes/xorg-lib/libx11_1.1.4.bb
index 7ab3a7b..d238c70 100644
--- a/recipes/xorg-lib/libx11_1.1.4.bb
+++ b/recipes/xorg-lib/libx11_1.1.4.bb
@@ -19,6 +19,7 @@ do_compile() {
 		unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
 		cd src/util; 
 		mv makekeys.c.orig makekeys.c || true
+		sed -i -e 's:MIN_REHASH 15:MIN_REHASH 16:g' makekeys.c
 		touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys
 		# mv to stop it getting rebuilt
 		mv makekeys.c makekeys.c.orig





More information about the Openembedded-commits mailing list