summaryrefslogtreecommitdiff
path: root/package/libX11
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-21 11:34:42 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-21 11:34:42 +0200
commit50345b17210bea8b96200fa618d65adf3c3f0b66 (patch)
tree58baa8b355cfb244f21cdf60a844e3a96a1c8782 /package/libX11
parent223c21887648bb08b689452127666d957aaed316 (diff)
allow cross-compile under FreeBSD
Diffstat (limited to 'package/libX11')
-rw-r--r--package/libX11/patches/patch-src_util_Makefile_in17
1 files changed, 14 insertions, 3 deletions
diff --git a/package/libX11/patches/patch-src_util_Makefile_in b/package/libX11/patches/patch-src_util_Makefile_in
index 2c1689069..6af15c2b5 100644
--- a/package/libX11/patches/patch-src_util_Makefile_in
+++ b/package/libX11/patches/patch-src_util_Makefile_in
@@ -1,13 +1,24 @@
--- libX11-1.4.0.orig/src/util/Makefile.in 2010-11-21 23:15:55.000000000 +0100
-+++ libX11-1.4.0/src/util/Makefile.in 2011-04-28 22:56:41.000000000 +0200
-@@ -262,7 +262,6 @@ top_build_prefix = @top_build_prefix@
++++ libX11-1.4.0/src/util/Makefile.in 2011-10-21 09:41:05.000000000 +0200
+@@ -143,7 +143,7 @@ LD = @LD@
+ LDFLAGS = @LDFLAGS_FOR_BUILD@
+ LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS =
+ LIBTOOL = @LIBTOOL@
+ LIB_MAN_DIR = @LIB_MAN_DIR@
+ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
+@@ -262,8 +262,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
makekeys_CFLAGS = \
- $(X11_CFLAGS) \
- $(CWARNFLAGS)
+- $(CWARNFLAGS)
++ $(CWARNFLAGS) -I/usr/local/include
EXTRA_DIST = mkks.sh
+
@@ -351,12 +350,12 @@ distclean-compile:
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<