summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/files/ioemu-cross-gl-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/xen/files/ioemu-cross-gl-check.patch')
-rw-r--r--recipes-extended/xen/files/ioemu-cross-gl-check.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-extended/xen/files/ioemu-cross-gl-check.patch b/recipes-extended/xen/files/ioemu-cross-gl-check.patch
deleted file mode 100644
index a1363ea0..00000000
--- a/recipes-extended/xen/files/ioemu-cross-gl-check.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1--- qemu-xen-4.1-testing/configure 2012-02-20 09:01:08.219798969 -0700
2+++ xen-4.1-testing.hg/../git/configure 2012-02-20 09:03:27.876749305 -0700
3@@ -289,7 +289,7 @@
4 kqemu="yes"
5 fi
6 fi
7- if test -f /usr/include/sys/soundcard.h ; then
8+ if test -f ${CROSS_SYS_ROOT}/usr/include/sys/soundcard.h ; then
9 audio_drv_list="oss"
10 fi
11 audio_possible_drivers="oss sdl"
12@@ -872,7 +872,7 @@
13 #endif
14 int main( void ) { return (int) glGetString(GL_EXTENSIONS); }
15 EOF
16-if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
17+if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I${CROSS_SYS_ROOT}/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
18 then
19 opengl="yes"
20 else
21@@ -1450,7 +1450,7 @@
22 then
23 echo "#define CONFIG_OPENGL 1" >> $config_h
24 echo "CONFIG_OPENGL=yes" >> $config_mak
25- echo "SDL_CFLAGS+=-I/usr/include/GL" >> $config_mak
26+ echo "SDL_CFLAGS+=-I${CROSS_SYS_ROOT}/usr/include/GL" >> $config_mak
27 echo "SDL_LIBS+=-lXext" >> $config_mak
28 echo "SDL_LIBS+=-lGL" >> $config_mak
29 fi