Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2021 09:28:41 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b94c44c93c43 - main - games/criticalmass: attempt to unbreak the build of the port.
Message-ID:  <202108270928.17R9SfYE092296@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b94c44c93c43a50ec21cbd9ebc1b1e8ca08ecdf4

commit b94c44c93c43a50ec21cbd9ebc1b1e8ca08ecdf4
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-08-27 09:27:58 +0000
Commit:     Alexey Dokuchaev <danfe@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108270928.17R9SfYE092296>