summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox/files')
-rw-r--r--x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-3.2.8-mesa-check.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-3.2.8-mesa-check.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-3.2.8-mesa-check.patch
new file mode 100644
index 000000000000..da82d564c025
--- /dev/null
+++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-3.2.8-mesa-check.patch
@@ -0,0 +1,35 @@
+--- VirtualBox-3.2.8_OSE/configure
++++ VirtualBox-3.2.8_OSE/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
+ }
+
+
+@@ -1345,20 +1342,6 @@
+ #include <X11/Xmu/StdCmap.h>
+ extern "C" int main(void)
+ {
+- Display *dpy;
+- int scrn_num;
+- Screen *scrn;
+-
+- dpy = XOpenDisplay(NULL);
+- if (dpy)
+- {
+- scrn_num = DefaultScreen(dpy);
+- scrn = ScreenOfDisplay(dpy, scrn_num);
+- Status status = XmuLookupStandardColormap(dpy, RootWindowOfScreen(scrn), 0,
+- 24, XA_RGB_DEFAULT_MAP, False, True);
+- printf("Status = %x\n", status);
+- XCloseDisplay(dpy);
+- }
+ return 0;
+ }
+ EOF