summaryrefslogtreecommitdiff
path: root/games/quake
diff options
context:
space:
mode:
authorwiz <wiz>2000-08-07 02:30:43 +0000
committerwiz <wiz>2000-08-07 02:30:43 +0000
commit3764c5fded57832b399a44d4933439e763e54a6c (patch)
treeb80098b992f0a61205e3b5c3d9b4919f5e6a3458 /games/quake
parent1397c08cb73961e5ed6d44c4a64129bb2a3d0d05 (diff)
downloadpkgsrc-3764c5fded57832b399a44d4933439e763e54a6c.tar.gz
make it compile with Mesa-glx
Diffstat (limited to 'games/quake')
-rw-r--r--games/quake/files/patch-sum3
-rw-r--r--games/quake/patches/patch-ao27
2 files changed, 29 insertions, 1 deletions
diff --git a/games/quake/files/patch-sum b/games/quake/files/patch-sum
index fb844d67dbf..daef71025a5 100644
--- a/games/quake/files/patch-sum
+++ b/games/quake/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.4 2000/02/08 14:53:44 wiz Exp $
+$NetBSD: patch-sum,v 1.5 2000/08/07 02:30:45 wiz Exp $
MD5 (patch-aa) = ca8929f5c8caf73b43b48fa14c09b281
MD5 (patch-ab) = 39706631f63064d4299b7ccd6767bc0a
@@ -14,3 +14,4 @@ MD5 (patch-ak) = 293084381e6cafe33d7c79cb1571880b
MD5 (patch-al) = c61b7e85d2744e5a9f76d94fe67a7ee9
MD5 (patch-am) = 6c60b027d151352f5a83b2e3b3a6b0da
MD5 (patch-an) = f032148d0f7b2db07f44f26bccd77648
+MD5 (patch-ao) = ad399c47145b6eb22ba85ee1f55c4060
diff --git a/games/quake/patches/patch-ao b/games/quake/patches/patch-ao
new file mode 100644
index 00000000000..f6e669c15b8
--- /dev/null
+++ b/games/quake/patches/patch-ao
@@ -0,0 +1,27 @@
+$NetBSD: patch-ao,v 1.1 2000/08/07 02:30:43 wiz Exp $
+
+--- QW/client/glquake.h.orig Tue Dec 21 15:49:06 1999
++++ QW/client/glquake.h Mon Aug 7 03:08:01 2000
+@@ -35,15 +35,15 @@
+
+
+ // Function prototypes for the Texture Object Extension routines
+-typedef GLboolean (APIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
++typedef GLboolean (GLAPIENTRY *ARETEXRESFUNCPTR)(GLsizei, const GLuint *,
+ const GLboolean *);
+-typedef void (APIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
+-typedef void (APIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
+-typedef void (APIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
+-typedef GLboolean (APIENTRY *ISTEXFUNCPTR)(GLuint);
+-typedef void (APIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
++typedef void (GLAPIENTRY *BINDTEXFUNCPTR)(GLenum, GLuint);
++typedef void (GLAPIENTRY *DELTEXFUNCPTR)(GLsizei, const GLuint *);
++typedef void (GLAPIENTRY *GENTEXFUNCPTR)(GLsizei, GLuint *);
++typedef GLboolean (GLAPIENTRY *ISTEXFUNCPTR)(GLuint);
++typedef void (GLAPIENTRY *PRIORTEXFUNCPTR)(GLsizei, const GLuint *,
+ const GLclampf *);
+-typedef void (APIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
++typedef void (GLAPIENTRY *TEXSUBIMAGEPTR)(int, int, int, int, int, int, int, int, void *);
+
+ extern BINDTEXFUNCPTR bindTexFunc;
+ extern DELTEXFUNCPTR delTexFunc;