diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-05 12:13:47 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-05 12:13:47 +0000 |
commit | 8886fa114591a2b0e49c5186799cec4674d06b20 (patch) | |
tree | d81b62c31131ca924b3b372b61cd2fb90b1688cf /meta/packages | |
parent | 03890f3fc084a12aa9821fe4814a6fb8f13eca0f (diff) | |
download | openembedded-core-8886fa114591a2b0e49c5186799cec4674d06b20.tar.gz openembedded-core-8886fa114591a2b0e49c5186799cec4674d06b20.tar.bz2 openembedded-core-8886fa114591a2b0e49c5186799cec4674d06b20.zip |
xserver-xf86-dri-lite: Update git recipe for latest versions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch | 22 | ||||
-rw-r--r-- | meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb | 13 |
2 files changed, 30 insertions, 5 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 @@ +We need to insert the sysroot path into compiler commandlines for this +kind of variable use, otherwise we're looking into /usr/include/. + +RP - 26/11/09 + +Index: git/xorg-server.m4 +=================================================================== +--- git.orig/xorg-server.m4 2010-02-05 10:00:55.000000000 +0000 ++++ git/xorg-server.m4 2010-02-05 10:02:12.000000000 +0000 +@@ -28,10 +28,11 @@ + # Checks for the $1 define in xorg-server.h (from the sdk). If it + # is defined, then add $1 to $REQUIRED_MODULES. + ++m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$]) + AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + SAVE_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`" ++ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include "xorg-server.h" + #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 e039f0ad5d..4789f28f5f 100644 --- a/meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb +++ b/meta/packages/xorg-xserver/xserver-xf86-dri-lite_git.bb @@ -1,11 +1,13 @@ require xserver-xf86-dri-lite.inc PE = "1" -PR = "r11" -PV = "1.6.0+git${SRCPV}" +PR = "r0" +PV = "1.7.99+git${SRCPV}" PROTO_DEPS += "xf86driproto dri2proto" +DEPENDS += "font-util" + RDEPENDS_${PN} += "xkeyboard-config" # file://cache-xkbcomp-output-for-fast-start-up.patch;patch=1 \ @@ -15,10 +17,11 @@ RDEPENDS_${PN} += "xkeyboard-config" # file://xserver-DRI2Swapbuffer.patch;patch=1" -SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=server-1.6-branch \ +SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=master \ file://nodolt.patch;patch=1 \ - file://fix_macros.patch;patch=1 \ - file://libdri-xinerama-symbol.patch;patch=1" + file://crosscompile.patch;patch=1 \ + file://fix_macros1.patch;patch=1" +# file://libdri-xinerama-symbol.patch;patch=1" # Misc build failure for master HEAD SRC_URI += "file://fix_open_max_preprocessor_error.patch;patch=1" |