summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2012-12-02 23:23:54 +0000
committerRichard Freeman <rich0@gentoo.org>2012-12-02 23:23:54 +0000
commit733724c9f54fbe3c9f67991eabd4f1a24b52f2ee (patch)
treebe82be136b563375925e15bea323d8c00a37d283 /games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
parentRestore 0.10.13-r1 due to bug #423717, thanks to Hanno for reminding me. (diff)
downloadhistorical-733724c9f54fbe3c9f67991eabd4f1a24b52f2ee.tar.gz
historical-733724c9f54fbe3c9f67991eabd4f1a24b52f2ee.tar.bz2
historical-733724c9f54fbe3c9f67991eabd4f1a24b52f2ee.zip
Fixes for bugs 445658, 423327 - unbundle minizip and fix build issue.
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x08C170DE55EC123A
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>