diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-10-07 16:37:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-11 18:08:31 +0100 |
commit | c09f0eb561a53b97a769dd0744076af7d904eafb (patch) | |
tree | ffdea22503027c6939e08c4e6ebc60b1c1346103 /meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_macros1.patch | |
parent | 359006159996f95aaa7e53279229d72e161514bd (diff) | |
download | poky-c09f0eb561a53b97a769dd0744076af7d904eafb.tar.gz |
xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite
* xserver-xorg is closer to upstream naming and
that's how it's named in OE-classic and meta-oe? It would make meta-oe
transition easier and better to do it now then convert meta-oe to
xserver-xf86 and then rename it back later.
(From OE-Core rev: 0b31c7200a368533df970f0efeb81e2e20c73593)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_macros1.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_macros1.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_macros1.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_macros1.patch new file mode 100644 index 0000000000..b2c8d58f52 --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg/fix_macros1.patch | |||
@@ -0,0 +1,24 @@ | |||
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 | Upstream-Status: Pending | ||
7 | |||
8 | Index: git/xorg-server.m4 | ||
9 | =================================================================== | ||
10 | --- git.orig/xorg-server.m4 2010-02-05 10:00:55.000000000 +0000 | ||
11 | +++ git/xorg-server.m4 2010-02-05 10:02:12.000000000 +0000 | ||
12 | @@ -28,10 +28,11 @@ | ||
13 | # Checks for the $1 define in xorg-server.h (from the sdk). If it | ||
14 | # is defined, then add $1 to $REQUIRED_MODULES. | ||
15 | |||
16 | +m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$]) | ||
17 | AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ | ||
18 | AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
19 | SAVE_CFLAGS="$CFLAGS" | ||
20 | - CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`" | ||
21 | + CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`" | ||
22 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | ||
23 | #include "xorg-server.h" | ||
24 | #if !defined $1 | ||