diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.1/glflags.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-0.15.1/glflags.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.1/glflags.patch b/meta/recipes-devtools/qemu/qemu-0.15.1/glflags.patch deleted file mode 100644 index 638d2622b6..0000000000 --- a/meta/recipes-devtools/qemu/qemu-0.15.1/glflags.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Considering relocation, qemu-nativesdk is independent of host library except | ||
2 | libGL. Normal method like 'cat > $TMPC' doesn't work, so we check the library | ||
3 | directly. | ||
4 | |||
5 | Upstream-Status: Inappropriate [configuration] | ||
6 | |||
7 | Index: qemu-0.15.1/configure | ||
8 | =================================================================== | ||
9 | --- qemu-0.15.1.orig/configure 2012-05-25 18:26:05.000000000 +0800 | ||
10 | +++ qemu-0.15.1/configure 2012-05-29 09:43:27.000000000 +0800 | ||
11 | @@ -2032,15 +2032,13 @@ | ||
12 | exit 1; | ||
13 | fi | ||
14 | |||
15 | - gl_accel_libs="-lGL -lGLU" | ||
16 | - cat > $TMPC << EOF | ||
17 | -#include <X11/Xlib.h> | ||
18 | -#include <GL/gl.h> | ||
19 | -#include <GL/glx.h> | ||
20 | -#include <GL/glu.h> | ||
21 | -int main(void) { GL_VERSION; return 0; } | ||
22 | -EOF | ||
23 | - if compile_prog "" "-lGL -lGLU" ; then | ||
24 | + gl_accel_libs="-lGL" | ||
25 | + libgl='no' | ||
26 | + test -e /usr/lib/libGL.so && libgl='yes' | ||
27 | + test -e /usr/lib64/libGL.so && libgl='yes' | ||
28 | + test -e /usr/lib/*-linux-gnu/libGL.so && libgl='yes' | ||
29 | + | ||
30 | + if test "$libgl" = "yes" ; then | ||
31 | gl_accel=yes | ||
32 | libs_softmmu="$gl_accel_libs $libs_softmmu" | ||
33 | else | ||