summaryrefslogtreecommitdiff
path: root/graphics/dri-devel/files/patch-glxcmds.c
blob: 13f3d99fcb0fd8ba2f20ea74ce1ce1c45e35e3c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/glx/x11/glxcmds.c.orig	Mon Jun 26 12:34:05 2006
+++ src/glx/x11/glxcmds.c	Mon Jun 26 12:35:42 2006
@@ -56,6 +56,12 @@
 #include "glheader.h"
 #include <sys/time.h>
 
+/* Workaround for stale headers in FreeBSD ports.  Remove when 7.1 lands. */
+#ifndef X_GLXvop_BindTexImageEXT
+#define X_GLXvop_BindTexImageEXT                5152
+#define X_GLXvop_ReleaseTexImageEXT             5153
+#endif
+
 static const char __glXGLXClientVendorName[] = "SGI";
 static const char __glXGLXClientVersion[] = "1.4";