diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-26 23:15:21 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-26 23:15:21 +0000 |
| commit | 0d4c056ca571d1845e0aca273c8d0ea987472a05 (patch) | |
| tree | 6645cf600ce5d9ed98fffa59f40c65ae072c39e8 | |
| parent | 011557c15734a83e8457fdabd6df5016081012c4 (diff) | |
| download | poky-0d4c056ca571d1845e0aca273c8d0ea987472a05.tar.gz | |
xserver-xf86-dri-lite: Fix macro in .m4 file
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
| -rw-r--r-- | meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros.patch | 18 | ||||
| -rw-r--r-- | meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb | 3 |
2 files changed, 20 insertions, 1 deletions
diff --git a/meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros.patch b/meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros.patch new file mode 100644 index 0000000000..1cdbdecebf --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | We need to insert the sysroot path into compiler commandlines for this | ||
| 2 | kind of variable use, otherwise we're looking into /usr/include/. | ||
| 3 | |||
| 4 | RP - 26/11/09 | ||
| 5 | |||
| 6 | Index: git/xorg-server.m4 | ||
| 7 | =================================================================== | ||
| 8 | --- git.orig/xorg-server.m4 2009-11-26 23:11:03.000000000 +0000 | ||
| 9 | +++ git/xorg-server.m4 2009-11-26 23:12:28.000000000 +0000 | ||
| 10 | @@ -30,7 +30,7 @@ | ||
| 11 | |||
| 12 | AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ | ||
| 13 | SAVE_CFLAGS="$CFLAGS" | ||
| 14 | - CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`" | ||
| 15 | + CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`pkg-config --variable=sdkdir xorg-server`" | ||
| 16 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | ||
| 17 | #include "xorg-server.h" | ||
| 18 | #if !defined $1 | ||
diff --git a/meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb b/meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb index 2eeff95a1a..519fcd7753 100644 --- a/meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb +++ b/meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | require xserver-xf86-dri-lite.inc | 1 | require xserver-xf86-dri-lite.inc |
| 2 | 2 | ||
| 3 | PE = "1" | 3 | PE = "1" |
| 4 | PR = "r9" | 4 | PR = "r10" |
| 5 | PV = "1.6.0+git${SRCPV}" | 5 | PV = "1.6.0+git${SRCPV}" |
| 6 | 6 | ||
| 7 | PROTO_DEPS += "xf86driproto dri2proto" | 7 | PROTO_DEPS += "xf86driproto dri2proto" |
| @@ -17,6 +17,7 @@ RDEPENDS_${PN} += "xkeyboard-config" | |||
| 17 | 17 | ||
| 18 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=server-1.6-branch \ | 18 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=server-1.6-branch \ |
| 19 | file://nodolt.patch;patch=1 \ | 19 | file://nodolt.patch;patch=1 \ |
| 20 | file://fix-macros.patch;patch=1 \ | ||
| 20 | file://libdri-xinerama-symbol.patch;patch=1" | 21 | file://libdri-xinerama-symbol.patch;patch=1" |
| 21 | 22 | ||
| 22 | # Misc build failure for master HEAD | 23 | # Misc build failure for master HEAD |
