diff options
author | Paulius Zaleckas <paulius.zaleckas@gmail.com> | 2010-02-28 11:33:42 +0200 |
---|---|---|
committer | Paulius Zaleckas <paulius.zaleckas@gmail.com> | 2010-02-28 11:33:42 +0200 |
commit | 1d956c9190dafbe425e9e02255b540641e27f690 (patch) | |
tree | 1584e16864f4c8358afa8f2ca659ae27374ab7f9 /package/x11r7/xlib_libX11/xlib_libX11-1.1.5-keysymdef.patch | |
parent | dd253742b38387d02f6ed2da2456ad44378c1b6f (diff) |
Bump libX11 to 1.3.2
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Diffstat (limited to 'package/x11r7/xlib_libX11/xlib_libX11-1.1.5-keysymdef.patch')
-rw-r--r-- | package/x11r7/xlib_libX11/xlib_libX11-1.1.5-keysymdef.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/package/x11r7/xlib_libX11/xlib_libX11-1.1.5-keysymdef.patch b/package/x11r7/xlib_libX11/xlib_libX11-1.1.5-keysymdef.patch deleted file mode 100644 index 1ac9f9d80..000000000 --- a/package/x11r7/xlib_libX11/xlib_libX11-1.1.5-keysymdef.patch +++ /dev/null @@ -1,40 +0,0 @@ -[patch]: configure: add --with-keysymdef argument for cross compilation - -Based on a similar patch from Openembedded. - -The libX11 configure script hardcodes the location to keysymdef.h as -<prefix>/include/X11/keysymdef.h, which is fine for native compilation, -but breaks with cross compilation as that directory is a location on -the target, not the build host. - -Fix it by providing an explicit --with-keysymdef=<full-path-to-file>. - -Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>Index: libX11-1.1.5/configure.ac -=================================================================== ---- libX11-1.1.5.orig/configure.ac 2008-10-28 11:36:49.000000000 +0000 -+++ libX11-1.1.5/configure.ac 2008-10-28 11:40:05.000000000 +0000 -@@ -221,13 +221,21 @@ - # Find keysymdef.h - # - AC_MSG_CHECKING([keysymdef.h]) --dir=`pkg-config --variable=includedir xproto` --KEYSYMDEF="$dir/X11/keysymdef.h" -+AC_ARG_WITH(keysymdef, -+ AC_HELP_STRING([--with-keysymdef=DIR/keysymdef.h], [The location of keysymdef.h]), -+ KEYSYMDEF=$withval, KEYSYMDEF="") -+ -+if test x$KEYSYMDEF = x; then -+ dir=`pkg-config --variable=includedir xproto` -+ KEYSYMDEF="$dir/X11/keysymdef.h" -+fi -+ - if test -f "$KEYSYMDEF"; then -- AC_MSG_RESULT([$KEYSYMDEF]) -+ AC_MSG_RESULT([$KEYSYMDEF]) - else - AC_MSG_ERROR([Cannot find keysymdef.h]) - fi -+ - AC_SUBST(KEYSYMDEF) - - AM_CONDITIONAL(UDC, test xfalse = xtrue) |