mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
games/criticalmass: attempt to unbreak the build of the port.
This commit is contained in:
parent
2164259fba
commit
b94c44c93c
@ -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
|
||||
|
||||
|
12
games/criticalmass/files/patch-utilsgl_GLee.h
Normal file
12
games/criticalmass/files/patch-utilsgl_GLee.h
Normal 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>
|
Loading…
Reference in New Issue
Block a user