diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-05-19 11:11:55 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-05-19 13:46:26 +0000 |
commit | 8417eee440bf6e076652512123d5f9c6490c67ef (patch) | |
tree | 862717de504416b0f67b79eea1374fc0fca43ffc | |
parent | 43ff55e9adb3b2f527b7a7dae231b513f1a984a4 (diff) | |
download | ports-8417eee440bf6e076652512123d5f9c6490c67ef.tar.gz ports-8417eee440bf6e076652512123d5f9c6490c67ef.zip |
devel/love07: fix build
-rw-r--r-- | devel/love07/Makefile | 2 | ||||
-rw-r--r-- | devel/love07/files/patch-src_modules_graphics_opengl_Framebuffer.cpp | 7 | ||||
-rw-r--r-- | devel/love07/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@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 |