git: b94c44c93c43 - main - games/criticalmass: attempt to unbreak the build of the port.
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Aug 27 09:28:41 UTC 2021
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b94c44c93c43a50ec21cbd9ebc1b1e8ca08ecdf4
commit b94c44c93c43a50ec21cbd9ebc1b1e8ca08ecdf4
Author: Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-08-27 09:27:58 +0000
Commit: Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-08-27 09:28:01 +0000
games/criticalmass: attempt to unbreak the build of the port.
---
games/criticalmass/Makefile | 2 --
games/criticalmass/files/patch-utilsgl_GLee.h | 12 ++++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index 1b858dc7d443..ef5ae3c7edba 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -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
diff --git a/games/criticalmass/files/patch-utilsgl_GLee.h b/games/criticalmass/files/patch-utilsgl_GLee.h
new file mode 100644
index 000000000000..399ac69501f8
--- /dev/null
+++ b/games/criticalmass/files/patch-utilsgl_GLee.h
@@ -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>
More information about the dev-commits-ports-all
mailing list