pkgsrc/graphics/MesaLib/patches/patch-aj
seb e60316b4fe As discussed on tech-pkg@ revert for now the last updates of the Mesa packages.
Downgraded graphics/MesaLib to 6.4.2nb3
Downgraded graphics/glu to 6.4.2
Downgraded graphics/glut to 6.4.2
Downgraded graphics/glx-utils to 6.4.2
Downgraded graphics/MesaDemos to 6.4.2
Downgraded graphics/Mesa to 6.4.2

Approved byg agc@.
2007-08-13 11:18:28 +00:00

22 lines
683 B
Text

$NetBSD: patch-aj,v 1.4 2007/08/13 11:18:47 seb Exp $
--- src/mesa/drivers/x11/xmesaP.h.orig 2005-10-04 23:00:36.000000000 +0200
+++ src/mesa/drivers/x11/xmesaP.h
@@ -30,7 +30,7 @@
#ifdef XFree86Server
# include "GL/xf86glx.h"
# include "xf86glx_util.h"
-#elif defined(USE_XSHM)
+#elif defined(USE_XSHM) || defined(USE_XSHM_HDRONLY)
# include <X11/extensions/XShm.h>
#endif
#include "GL/xmesa.h"
@@ -218,7 +218,7 @@ struct xmesa_buffer {
/* 0 = not available */
/* 1 = XImage support available */
/* 2 = Pixmap support available too */
-#ifdef USE_XSHM
+#if defined(USE_XSHM) || defined(USE_XSHM_HDRONLY)
XShmSegmentInfo shminfo;
#endif
#endif