devel/love08: fix build
This commit is contained in:
parent
8417eee440
commit
194fda4858
6 changed files with 53 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
--- src/libraries/Box2D/Collision/Shapes/b2ChainShape.h.orig 2012-04-06 18:15:01 UTC
|
||||
+++ src/libraries/Box2D/Collision/Shapes/b2ChainShape.h
|
||||
@@ -95,8 +95,8 @@ inline b2ChainShape::b2ChainShape()
|
||||
m_radius = b2_polygonRadius;
|
||||
m_vertices = NULL;
|
||||
m_count = 0;
|
||||
- m_hasPrevVertex = NULL;
|
||||
- m_hasNextVertex = NULL;
|
||||
+ m_hasPrevVertex = false;
|
||||
+ m_hasNextVertex = false;
|
||||
}
|
||||
|
||||
#endif
|
|
@ -0,0 +1,10 @@
|
|||
--- src/modules/graphics/opengl/Canvas.cpp.orig 2012-04-06 18:15:01 UTC
|
||||
+++ src/modules/graphics/opengl/Canvas.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "Canvas.h"
|
||||
#include "Graphics.h"
|
||||
#include <common/Matrix.h>
|
|
@ -0,0 +1,10 @@
|
|||
--- src/modules/graphics/opengl/Graphics.cpp.orig 2012-04-06 18:15:01 UTC
|
||||
+++ src/modules/graphics/opengl/Graphics.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include <common/config.h>
|
||||
#include <common/math.h>
|
||||
#include <common/Vector.h>
|
|
@ -0,0 +1,10 @@
|
|||
--- src/modules/graphics/opengl/PixelEffect.cpp.orig 2012-04-06 18:15:01 UTC
|
||||
+++ src/modules/graphics/opengl/PixelEffect.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "PixelEffect.h"
|
||||
#include "GLee.h"
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- src/modules/graphics/opengl/VertexBuffer.cpp.orig 2012-04-06 18:15:01 UTC
|
||||
+++ src/modules/graphics/opengl/VertexBuffer.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
+#define GL_GLEXT_PROTOTYPES
|
||||
#include "VertexBuffer.h"
|
||||
|
||||
#include "common/Exception.h"
|
Loading…
Reference in a new issue