diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2011-07-26 22:10:13 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2011-07-26 22:10:13 +0200 |
commit | 1b0245eb5ba04081b0713f583511e070dce92169 (patch) | |
tree | f77af1ec17f4069304a869ac182c7f848fe2f30c /app-emulation/virtualbox/files/virtualbox-ose-3.2.8-mesa-check.patch | |
parent | 69e7ed4b07754ae656094afa26d4c4ab66c85ab8 (diff) | |
download | overlay-1b0245eb5ba04081b0713f583511e070dce92169.tar.gz overlay-1b0245eb5ba04081b0713f583511e070dce92169.tar.bz2 overlay-1b0245eb5ba04081b0713f583511e070dce92169.zip |
virtualbox
Diffstat (limited to '')
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-ose-3.2.8-mesa-check.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/files/virtualbox-ose-3.2.8-mesa-check.patch b/app-emulation/virtualbox/files/virtualbox-ose-3.2.8-mesa-check.patch new file mode 100644 index 0000000..6813a17 --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-ose-3.2.8-mesa-check.patch @@ -0,0 +1,36 @@ +--- configure ++++ configure +@@ -1225,10 +1225,7 @@ + XCloseDisplay(dpy); + } + EOF +- [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"` +- if test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs; then +- log_success "found" +- fi ++ test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs + } + + +@@ -1382,21 +1379,6 @@ + #include <GL/glu.h> + extern "C" int main(void) + { +- Display *dpy; +- int major, minor; +- +- dpy = XOpenDisplay(NULL); +- if (dpy) +- { +- Bool glx_version = glXQueryVersion(dpy, &major, &minor); +- XCloseDisplay(dpy); +- if (glx_version) +- { +- printf("found version %u.%u, OK.\n", major, minor); +- return 0; +- } +- } +- printf("found (inactive), OK.\n"); + return 0; + } + EOF |