diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2010-08-07 04:38:35 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2010-08-07 04:38:35 +0000 |
commit | 1253b1106feb1ab4246362e76383a32918fd7a6c (patch) | |
tree | 3ec18fe866ce6f44c2808362d45373522718ca6a /x11-drivers | |
parent | Fixed mesa patch (bug #331473). (diff) | |
download | gentoo-2-1253b1106feb1ab4246362e76383a32918fd7a6c.tar.gz gentoo-2-1253b1106feb1ab4246362e76383a32918fd7a6c.tar.bz2 gentoo-2-1253b1106feb1ab4246362e76383a32918fd7a6c.zip |
Fixed mesa patch (bug #331473).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-virtualbox/ChangeLog | 7 | ||||
-rw-r--r-- | x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-3.2.8-mesa-check.patch | 23 |
2 files changed, 18 insertions, 12 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/ChangeLog b/x11-drivers/xf86-video-virtualbox/ChangeLog index ac0e317f42d4..30ce3e97a6ab 100644 --- a/x11-drivers/xf86-video-virtualbox/ChangeLog +++ b/x11-drivers/xf86-video-virtualbox/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-drivers/xf86-video-virtualbox # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.46 2010/08/06 23:53:48 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.47 2010/08/07 04:38:35 polynomial-c Exp $ + + 07 Aug 2010; Lars Wendler <polynomial-c@gentoo.org> + files/xf86-video-virtualbox-3.2.8-mesa-check.patch: + Fixed xf86-video-virtualbox-3.2.8-mesa-check.patch which was fscked up by + me. Thanks to Willard Dawson (bug #331473). *xf86-video-virtualbox-3.2.8 (06 Aug 2010) 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 index da82d564c025..6813a1744695 100644 --- 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 @@ -1,5 +1,5 @@ ---- VirtualBox-3.2.8_OSE/configure -+++ VirtualBox-3.2.8_OSE/configure +--- configure ++++ configure @@ -1225,10 +1225,7 @@ XCloseDisplay(dpy); } @@ -12,24 +12,25 @@ } -@@ -1345,20 +1342,6 @@ - #include <X11/Xmu/StdCmap.h> +@@ -1382,21 +1379,6 @@ + #include <GL/glu.h> extern "C" int main(void) { - Display *dpy; -- int scrn_num; -- Screen *scrn; +- int major, minor; - - 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); +- 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 |