diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-08-28 19:08:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 18:03:05 +0100 |
commit | 9164912018b5e7b9e8d4431453d14b2a5c59c1a2 (patch) | |
tree | 67aeead417292de8826d226c56ad7c2a4080b581 /meta/recipes-graphics/xorg-driver/xf86-video-intel | |
parent | 4d2685130098bf4f7548ad339e0f88c114dd720a (diff) | |
download | poky-9164912018b5e7b9e8d4431453d14b2a5c59c1a2.tar.gz |
xf86-video-intel/xf86-video-omapfb: Fix build with glibc 2.20
include xorg-xserver.h
(From OE-Core rev: 286c3e8c88b1afbb3090a4988692968e67f498cf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-intel')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-intel/always_include_xorg_server.h.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel/always_include_xorg_server.h.patch b/meta/recipes-graphics/xorg-driver/xf86-video-intel/always_include_xorg_server.h.patch new file mode 100644 index 0000000000..8a5dd39ae1 --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel/always_include_xorg_server.h.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Include xorg-server.h to fix build errors seen with glibc 2.20 | ||
2 | |||
3 | In file included from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/string.h:634:0, | ||
4 | from /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/work/i586-oe-linux/xf86-video-intel/2_2.99.912-r0/xf86-video-intel-2.99.912/src/backlight.c:39: | ||
5 | /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' | ||
6 | strndup(const char *str, size_t n); | ||
7 | ^ | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Index: xf86-video-intel-2.99.912/src/backlight.c | ||
14 | =================================================================== | ||
15 | --- xf86-video-intel-2.99.912.orig/src/backlight.c 2014-04-09 10:41:18.000000000 -0700 | ||
16 | +++ xf86-video-intel-2.99.912/src/backlight.c 2014-08-28 18:52:25.524070587 -0700 | ||
17 | @@ -29,6 +29,7 @@ | ||
18 | #include "config.h" | ||
19 | #endif | ||
20 | |||
21 | +#include <xorg-server.h> | ||
22 | #include <sys/types.h> | ||
23 | #include <sys/wait.h> | ||
24 | #include <sys/stat.h> | ||