git: 8417eee440bf - main - devel/love07: fix build
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 19 13:49:22 UTC 2021
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8417eee440bf6e076652512123d5f9c6490c67ef
commit 8417eee440bf6e076652512123d5f9c6490c67ef
Author: Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-05-19 11:11:55 +0000
Commit: Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-05-19 13:46:26 +0000
devel/love07: fix build
---
devel/love07/Makefile | 2 --
.../files/patch-src_modules_graphics_opengl_Framebuffer.cpp | 7 +++++++
.../files/patch-src_modules_graphics_opengl_SpriteBatch.cpp | 10 ++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/devel/love07/Makefile b/devel/love07/Makefile
index ca4997b8f368..1644e71715a8 100644
--- a/devel/love07/Makefile
+++ b/devel/love07/Makefile
@@ -10,8 +10,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Open-source 2D game engine
-BROKEN= fails to build
-
LIB_DEPENDS= libIL.so:graphics/devil \
libmodplug.so:audio/libmodplug \
libmpg123.so:audio/mpg123 \
diff --git a/devel/love07/files/patch-src_modules_graphics_opengl_Framebuffer.cpp b/devel/love07/files/patch-src_modules_graphics_opengl_Framebuffer.cpp
new file mode 100644
index 000000000000..26821560f2dc
--- /dev/null
+++ b/devel/love07/files/patch-src_modules_graphics_opengl_Framebuffer.cpp
@@ -0,0 +1,7 @@
+--- src/modules/graphics/opengl/Framebuffer.cpp.orig 2011-05-04 16:00:10 UTC
++++ src/modules/graphics/opengl/Framebuffer.cpp
+@@ -1,3 +1,4 @@
++#define GL_GLEXT_PROTOTYPES
+ #include "Framebuffer.h"
+ #include <common/Matrix.h>
+
diff --git a/devel/love07/files/patch-src_modules_graphics_opengl_SpriteBatch.cpp b/devel/love07/files/patch-src_modules_graphics_opengl_SpriteBatch.cpp
new file mode 100644
index 000000000000..762b3a4cbbcb
--- /dev/null
+++ b/devel/love07/files/patch-src_modules_graphics_opengl_SpriteBatch.cpp
@@ -0,0 +1,10 @@
+--- src/modules/graphics/opengl/SpriteBatch.cpp.orig 2011-05-04 16:00:10 UTC
++++ src/modules/graphics/opengl/SpriteBatch.cpp
+@@ -18,6 +18,7 @@
+ * 3. This notice may not be removed or altered from any source distribution.
+ **/
+
++#define GL_GLEXT_PROTOTYPES
+ #include "SpriteBatch.h"
+
+ // STD
More information about the dev-commits-ports-all
mailing list