diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-05-28 16:56:46 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-05-28 16:56:46 +0000 |
commit | 19741f0075f94aecdc06da9dff8f00013bcba792 (patch) | |
tree | b58d316b7d045853cff6b526ff80154dc1fb2c08 /recipes/xorg-lib/libx11_1.1.4.bb | |
parent | 6de1fd8368e46fca71e208f856473966917bb0be (diff) |
libx11-1.1.4: Prevent crash of makekeys (backport from 1.1.5).
Diffstat (limited to 'recipes/xorg-lib/libx11_1.1.4.bb')
-rw-r--r-- | 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 7ab3a7bb94..d238c70714 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 |