summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/gracer/files/0.1.5-gldefs.patch')
-rw-r--r--games-sports/gracer/files/0.1.5-gldefs.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/games-sports/gracer/files/0.1.5-gldefs.patch b/games-sports/gracer/files/0.1.5-gldefs.patch
new file mode 100644
index 000000000000..825edff861dc
--- /dev/null
+++ b/games-sports/gracer/files/0.1.5-gldefs.patch
@@ -0,0 +1,33 @@
+--- src/glbind.c.orig 2003-07-30 00:18:37.000000000 -0400
++++ src/glbind.c 2003-07-30 00:19:32.000000000 -0400
+@@ -22,6 +22,8 @@
+ #include <unistd.h>
+ #include <GL/gl.h>
+ #include <GL/glut.h>
++#undef GL_EXT_texture_object
++#include <GL/glext.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+--- src/glhash.h.orig 2003-07-30 00:20:32.000000000 -0400
++++ src/glhash.h 2003-07-30 00:20:58.000000000 -0400
+@@ -1,4 +1,5 @@
+ /* this file is generated automaticaly from GL/gl.h */
++#undef GL_EXT_paletted_texture
+ #include <GL/gl.h>
+
+ glWordList glwordlist[] = {
+@@ -632,13 +632,11 @@
+
+ #ifdef GL_SGIS_multitexture
+ {"selected_texture_sgis", GL_SELECTED_TEXTURE_SGIS},
+- {"selected_texture_coord_set_sgis", GL_SELECTED_TEXTURE_COORD_SET_SGIS},
+ {"max_textures_sgis", GL_MAX_TEXTURES_SGIS},
+ {"texture0_sgis", GL_TEXTURE0_SGIS},
+ {"texture1_sgis", GL_TEXTURE1_SGIS},
+ {"texture2_sgis", GL_TEXTURE2_SGIS},
+ {"texture3_sgis", GL_TEXTURE3_SGIS},
+- {"texture_coord_set_source_sgis", GL_TEXTURE_COORD_SET_SOURCE_SGIS},
+ #endif
+
+ #ifdef GL_EXT_multitexture