summaryrefslogtreecommitdiff
path: root/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch')
-rw-r--r--games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch b/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
new file mode 100644
index 000000000000..972abd9b0d2b
--- /dev/null
+++ b/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
@@ -0,0 +1,25 @@
+--- gl_init.c 2012-02-13 22:01:54.000000000 -0500
++++ gl_init.c 2012-12-02 18:09:41.274014922 -0500
+@@ -27,6 +27,8 @@
+ #include "fsaa/fsaa.h"
+ #endif /* FSAA */
+
++#define APIENTRY
++
+ Uint32 flags;
+
+ int window_width=640;
+--- platform.h 2012-02-13 22:01:54.000000000 -0500
++++ platform.h 2012-12-02 17:32:46.017627957 -0500
+@@ -87,9 +87,10 @@
+ #define APIENTRYP *
+ #elif !defined(BSD)
+ #define GL_GLEXT_LEGACY
++ #include <GL/glew.h>
+ #include <GL/gl.h>
+ #include <GL/glu.h>
+- #include "glext.h"
++ #include <GL/glext.h>
+ #else // BSD
+ #include <GL/gl.h>
+ #include <GL/glu.h>