summaryrefslogtreecommitdiffstats
path: root/patches/xf86-video-dummy-0.2.0/generic/xf86-video-dummy-0.2.0-sdkdir.diff
blob: 5e60a5a474809892c3c58f769efced313a15049f (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
#
# Submitted-By: Robert Schwebel, 2006-10-19
# Committed-By: Robert Schwebel
#
# Error:
#
# -
#
# Description:
#
# $PREFIX is put to the include path, this is not cross-aware,
# add SYSROOT as prefix
#
# State:
#
#

Index: xf86-video-dummy-X11R7.1-0.2.0/configure.ac
===================================================================
--- xf86-video-dummy-X11R7.1-0.2.0.orig/configure.ac
+++ xf86-video-dummy-X11R7.1-0.2.0/configure.ac
@@ -58,7 +58,7 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 
 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-dummy-X11R7.1-0.2.0/configure
===================================================================
--- xf86-video-dummy-X11R7.1-0.2.0.orig/configure
+++ xf86-video-dummy-X11R7.1-0.2.0/configure
@@ -19969,7 +19969,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'