summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel <ceamac.paragon@gmail.com>2022-07-27 10:31:31 +0300
committerViorel <ceamac.paragon@gmail.com>2022-07-27 10:31:31 +0300
commitb56b9d9c950ea218a93ad4f9f3bc822b55a40bc5 (patch)
tree7cfc99cbbd5cbab30b31cc38ed7428b39fde460d /patches/001_virtualbox-5.0.16-mesa-check.patch
downloadvirtualbox-patches-b56b9d9c950ea218a93ad4f9f3bc822b55a40bc5.tar.gz
virtualbox-patches-b56b9d9c950ea218a93ad4f9f3bc822b55a40bc5.tar.bz2
virtualbox-patches-b56b9d9c950ea218a93ad4f9f3bc822b55a40bc5.zip
Import virtualbox-6.1.12-patches-01.tar.xzv6.1.36
from https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-6.1.12-patches-01.tar.xz Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Diffstat (limited to 'patches/001_virtualbox-5.0.16-mesa-check.patch')
-rw-r--r--patches/001_virtualbox-5.0.16-mesa-check.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/001_virtualbox-5.0.16-mesa-check.patch b/patches/001_virtualbox-5.0.16-mesa-check.patch
new file mode 100644
index 0000000..67ade14
--- /dev/null
+++ b/patches/001_virtualbox-5.0.16-mesa-check.patch
@@ -0,0 +1,36 @@
+--- VirtualBox-5.0.16/configure
++++ VirtualBox-5.0.16/configure
+@@ -1270,10 +1270,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
+ }
+
+
+@@ -1427,21 +1424,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