diff -Nru compiz-0.9.7.0~bzr2995/debian/changelog compiz-0.9.7.0~bzr2995/debian/changelog --- compiz-0.9.7.0~bzr2995/debian/changelog 2012-02-10 11:20:34.000000000 +0000 +++ compiz-0.9.7.0~bzr2995/debian/changelog 2012-02-10 16:37:08.000000000 +0000 @@ -1,4 +1,4 @@ -compiz (1:0.9.7.0~bzr2995-0ubuntu1~ppa3) precise; urgency=low +compiz (1:0.9.7.0~bzr2995-0ubuntu1~ppa4) precise; urgency=low [ Didier Roche ] * New upstream release: diff -Nru compiz-0.9.7.0~bzr2995/debian/patches/workaround_broken_drivers.patch compiz-0.9.7.0~bzr2995/debian/patches/workaround_broken_drivers.patch --- compiz-0.9.7.0~bzr2995/debian/patches/workaround_broken_drivers.patch 2012-02-10 11:20:34.000000000 +0000 +++ compiz-0.9.7.0~bzr2995/debian/patches/workaround_broken_drivers.patch 2012-02-10 16:37:08.000000000 +0000 @@ -1,8 +1,8 @@ -Index: compiz-0.9.7.1.1/plugins/opengl/src/screen.cpp +Index: compiz-0.9.7.0~bzr2995/plugins/opengl/src/screen.cpp =================================================================== ---- compiz-0.9.7.1.1.orig/plugins/opengl/src/screen.cpp 2012-02-02 18:03:03.000000000 +0800 -+++ compiz-0.9.7.1.1/plugins/opengl/src/screen.cpp 2012-02-08 10:36:05.450286927 +0800 -@@ -25,10 +25,19 @@ +--- compiz-0.9.7.0~bzr2995.orig/plugins/opengl/src/screen.cpp 2012-02-09 16:32:07.000000000 +0100 ++++ compiz-0.9.7.0~bzr2995/plugins/opengl/src/screen.cpp 2012-02-10 17:09:17.029015287 +0100 +@@ -25,6 +25,11 @@ * David Reveman */ @@ -14,15 +14,7 @@ #include "privates.h" #include - #include -+#ifndef _GNU_SOURCE -+#define _GNU_SOURCE -+#include -+#endif - - namespace GL { - GLXBindTexImageProc bindTexImage = NULL; -@@ -83,9 +92,24 @@ +@@ -83,9 +88,24 @@ CompOutput *targetOutput = NULL; @@ -47,3 +39,11 @@ Display *dpy = screen->dpy (); const char *glExtensions; GLfloat globalAmbient[] = { 0.1f, 0.1f, 0.1f, 0.1f }; +@@ -309,6 +329,7 @@ + int defaultDepth, nvisinfo, nElements, value, i; + const char *glxExtensions; + XWindowAttributes attr; ++ DetectionWorkaround workaround; + CompOption::Vector o (0); + + if (!XGetWindowAttributes (dpy, s->root (), &attr))