From 38d7471a4ad910f5a07d83c5d4c7c6bd4a6828da Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Sun, 16 Mar 2008 12:05:46 +0000 Subject: xserver-xorg-1.4: add a workaround to xorg-xserver.m4 * stops cross compiling badness during xorg drivers do_configure: `pkg-config --variable=sdkdir xorg-server` does not prepent sysroot, so use `pkg-config --cflags xorg-server` instead. --- packages/xorg-xserver/files/sysroot_fix.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/xorg-xserver/files/sysroot_fix.patch (limited to 'packages/xorg-xserver/files') diff --git a/packages/xorg-xserver/files/sysroot_fix.patch b/packages/xorg-xserver/files/sysroot_fix.patch new file mode 100644 index 0000000000..59753d5803 --- /dev/null +++ b/packages/xorg-xserver/files/sysroot_fix.patch @@ -0,0 +1,13 @@ +Index: xorg-server-1.4/xorg-server.m4 +=================================================================== +--- xorg-server-1.4.orig/xorg-server.m4 2008-03-15 20:09:36.000000000 +0100 ++++ xorg-server-1.4/xorg-server.m4 2008-03-15 20:09:51.000000000 +0100 +@@ -30,7 +30,7 @@ + + AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ + SAVE_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`" ++ CFLAGS="$CFLAGS `pkg-config --cflags xorg-server`" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include "xorg-server.h" + #if !defined $1 -- cgit v1.2.3