python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-imx / 0003-support-glibc-2.20.patch
blob3b1b84d1cd4db3e715805b886315730c6f1a651d
1 Fix build errors seen with glibc 2.20
3 /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/imx53qsb/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
4 strndup(const char *str, size_t n);
7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 Upstream-Status: Pending
9 Index: xserver-xorg-video-imx-11.09.01/src/imx_accel.c
10 ===================================================================
11 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_accel.c 2011-07-26 14:22:47.000000000 -0700
12 +++ xserver-xorg-video-imx-11.09.01/src/imx_accel.c 2014-08-29 15:54:43.648070587 -0700
13 @@ -21,6 +21,7 @@
14 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
15 * SOFTWARE.
17 +#include <xorg-server.h>
19 #include <stdint.h>
20 #include "xf86.h"
21 Index: xserver-xorg-video-imx-11.09.01/src/imx_exa_offscreen.c
22 ===================================================================
23 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_exa_offscreen.c 2014-08-29 15:26:31.992070587 -0700
24 +++ xserver-xorg-video-imx-11.09.01/src/imx_exa_offscreen.c 2014-08-29 15:54:54.632070587 -0700
25 @@ -53,7 +53,7 @@
26 * When allocating, the contiguous block of areas with the minimum eviction
27 * cost is found and evicted in order to make room for the new allocation.
30 +#include <xorg-server.h>
32 #include "xf86.h"
33 #include "exa.h"
34 Index: xserver-xorg-video-imx-11.09.01/src/imx_exa_z160.c
35 ===================================================================
36 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_exa_z160.c 2014-08-29 15:26:31.992070587 -0700
37 +++ xserver-xorg-video-imx-11.09.01/src/imx_exa_z160.c 2014-08-29 15:54:36.056070587 -0700
38 @@ -21,6 +21,7 @@
39 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
40 * SOFTWARE.
42 +#include <xorg-server.h>
44 #include "xf86.h"
45 #include "xf86_OSproc.h"
46 Index: xserver-xorg-video-imx-11.09.01/src/imx_ext.c
47 ===================================================================
48 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_ext.c 2014-08-29 15:26:32.064070587 -0700
49 +++ xserver-xorg-video-imx-11.09.01/src/imx_ext.c 2014-08-29 15:55:18.048070587 -0700
50 @@ -21,6 +21,7 @@
51 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
52 * SOFTWARE.
54 +#include <xorg-server.h>
56 #include <X11/X.h>
57 #include <X11/Xproto.h>