summaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-xserver/xserver-xf86-dri-lite
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-02-05 12:13:47 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-02-05 12:13:47 +0000
commit8886fa114591a2b0e49c5186799cec4674d06b20 (patch)
treed81b62c31131ca924b3b372b61cd2fb90b1688cf /meta/packages/xorg-xserver/xserver-xf86-dri-lite
parent03890f3fc084a12aa9821fe4814a6fb8f13eca0f (diff)
downloadpoky-8886fa114591a2b0e49c5186799cec4674d06b20.tar.gz
xserver-xf86-dri-lite: Update git recipe for latest versions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-xf86-dri-lite')
-rw-r--r--meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch b/meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch
new file mode 100644
index 0000000000..94852f0dea
--- /dev/null
+++ b/meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch
@@ -0,0 +1,22 @@
1We need to insert the sysroot path into compiler commandlines for this
2kind of variable use, otherwise we're looking into /usr/include/.
3
4RP - 26/11/09
5
6Index: git/xorg-server.m4
7===================================================================
8--- git.orig/xorg-server.m4 2010-02-05 10:00:55.000000000 +0000
9+++ git/xorg-server.m4 2010-02-05 10:02:12.000000000 +0000
10@@ -28,10 +28,11 @@
11 # Checks for the $1 define in xorg-server.h (from the sdk). If it
12 # is defined, then add $1 to $REQUIRED_MODULES.
13
14+m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$])
15 AC_DEFUN([XORG_DRIVER_CHECK_EXT],[
16 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
17 SAVE_CFLAGS="$CFLAGS"
18- CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
19+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`"
20 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
21 #include "xorg-server.h"
22 #if !defined $1