summaryrefslogtreecommitdiffstats
path: root/patches/xf86-video-vesa-1.3.0/vesa.diff
blob: fc2d912bc7e08e3b291c9644f888f08e4e8b2df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# Submitted-By: Luotao Fu, 2006-06-21
# Committed-By: Luotao Fu
#
# Error:
#
# Includes Systemheader direcotry which is not
# crosscompile aware.
#
# Description:
#
# add ${SYSROOT} manually to INCLUDEs in configure
#
# State:
#
# not mentioned upstream
#

Index: xf86-video-vesa-X11R7.1-1.2.0/configure.ac
===================================================================
--- xf86-video-vesa-X11R7.1-1.2.0.orig/configure.ac
+++ xf86-video-vesa-X11R7.1-1.2.0/configure.ac
@@ -57,7 +57,7 @@ PKG_CHECK_MODULES(XORG, xorg-server >= 1
 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
 
 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
-INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
+INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src '"-I${SYSROOT}"'$(prefix)/include'
 AC_SUBST([CFLAGS])
 AC_SUBST([INCLUDES])
 
Index: xf86-video-vesa-X11R7.1-1.2.0/configure
===================================================================
--- xf86-video-vesa-X11R7.1-1.2.0.orig/configure
+++ xf86-video-vesa-X11R7.1-1.2.0/configure
@@ -19907,7 +19907,7 @@ fi
 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
 
 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
-INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
+INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src '"-I${SYSROOT}"'$(prefix)/include'