This package is from complete or polished and were unabashedly haphazardly put together. You have been warned, and please let me know about any problems, etc. Many thanks to Jeremy Reed for doing the bulk of the work (patches).
22 lines
733 B
Text
22 lines
733 B
Text
$NetBSD: patch-aj,v 1.1 2007/01/23 17:49:34 bsadewitz Exp $
|
|
|
|
--- src/mesa/drivers/x11/xmesaP.h.orig 2006-10-18 15:09:40.000000000 -0500
|
|
+++ src/mesa/drivers/x11/xmesaP.h 2007-01-18 15:39:42.000000000 -0600
|
|
@@ -29,7 +29,7 @@
|
|
|
|
#ifdef XFree86Server
|
|
# 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"
|
|
@@ -228,7 +228,7 @@
|
|
/* 0 = not available */
|
|
/* 1 = XImage support available */
|
|
/* 2 = Pixmap support available too */
|
|
-#if defined(USE_XSHM) && !defined(XFree86Server)
|
|
+#if defined(USE_XSHM) && !defined(XFree86Server) || defined(USE_XSHM_HDRONLY)
|
|
XShmSegmentInfo shminfo;
|
|
#endif
|
|
|