aboutsummaryrefslogtreecommitdiffstats
path: root/games/lugaru
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-12-08 02:07:03 +0800
committernemysis <nemysis@FreeBSD.org>2013-12-08 02:07:03 +0800
commit01548a634658486c273e3f366b6dfe842a1c606a (patch)
tree85d3c85cb0e21dbe05e85ee8218c64982cc92e94 /games/lugaru
parent066930929a6e8bba3927ceea32064c08ce900b42 (diff)
downloadfreebsd-ports-gnome-01548a634658486c273e3f366b6dfe842a1c606a.tar.gz
freebsd-ports-gnome-01548a634658486c273e3f366b6dfe842a1c606a.tar.zst
freebsd-ports-gnome-01548a634658486c273e3f366b6dfe842a1c606a.zip
- Fix build with gcc47, add patch
PR: ports/184570 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'games/lugaru')
-rw-r--r--games/lugaru/files/patch-Source__OpenGL_Windows.cpp10
-rw-r--r--games/lugaru/files/patch-Source__openal_wrapper.cpp (renamed from games/lugaru/files/patch-Source-openal_wrapper.cpp)4
2 files changed, 12 insertions, 2 deletions
diff --git a/games/lugaru/files/patch-Source__OpenGL_Windows.cpp b/games/lugaru/files/patch-Source__OpenGL_Windows.cpp
new file mode 100644
index 000000000000..4403a0ed4c61
--- /dev/null
+++ b/games/lugaru/files/patch-Source__OpenGL_Windows.cpp
@@ -0,0 +1,10 @@
+--- ./Source/OpenGL_Windows.cpp.orig 2010-05-16 06:42:54.000000000 +0200
++++ ./Source/OpenGL_Windows.cpp 2013-12-07 18:36:52.000000000 +0100
+@@ -30,6 +30,7 @@
+ #undef boolean
+ #endif
+
++#include <unistd.h>
+
+
+ #include "Game.h"
diff --git a/games/lugaru/files/patch-Source-openal_wrapper.cpp b/games/lugaru/files/patch-Source__openal_wrapper.cpp
index dd25351e0249..3b15970961d6 100644
--- a/games/lugaru/files/patch-Source-openal_wrapper.cpp
+++ b/games/lugaru/files/patch-Source__openal_wrapper.cpp
@@ -1,5 +1,5 @@
---- Source/openal_wrapper.cpp.orig 2010-05-16 06:42:54.000000000 +0200
-+++ Source/openal_wrapper.cpp 2013-09-27 23:04:45.000000000 +0200
+--- ./Source/openal_wrapper.cpp.orig 2010-05-16 06:42:54.000000000 +0200
++++ ./Source/openal_wrapper.cpp 2013-12-07 18:33:55.000000000 +0100
@@ -374,7 +374,7 @@
char *fname = (char *) alloca(strlen(_fname) + 16);
strcpy(fname, _fname);