summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch')
-rw-r--r--recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch b/recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
deleted file mode 100644
index 23497e21..00000000
--- a/recipes-extended/xen/xen-hg/ioemu-cross-gl-check.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1--- git/configure.sav 2012-04-06 12:08:07.891529546 -0600
2+++ xen-unstable.hg/../git/configure 2012-04-06 12:09:39.872923477 -0600
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