games/criticalmass: attempt to unbreak the build of the port.

This commit is contained in:
Alexey Dokuchaev 2021-08-27 09:27:58 +00:00
parent 2164259fba
commit b94c44c93c
2 changed files with 12 additions and 2 deletions

View File

@ -14,8 +14,6 @@ COMMENT= SDL/OpenGL space shoot'em up game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= fails to build
LIB_DEPENDS= libpng.so:graphics/png \
libtinyxml.so:textproc/tinyxml

View File

@ -0,0 +1,12 @@
--- utilsgl/GLee.h.orig 2010-10-17 01:09:51 UTC
+++ utilsgl/GLee.h
@@ -66,8 +66,8 @@
#define GL_GLEXT_LEGACY
#include <OpenGL/gl.h>
#else // GLX
- #define __glext_h_ /* prevent glext.h from being included */
#define __glxext_h_ /* prevent glxext.h from being included */
+ #define GL_GLEXT_PROTOTYPES
#define GLX_GLXEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glx.h>