aboutsummaryrefslogtreecommitdiff
path: root/games/lugaru
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-12-07 18:07:03 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-12-07 18:07:03 +0000
commitff770b517f53c2a9dd183c4ca391fa5c12ab4d02 (patch)
tree85d3c85cb0e21dbe05e85ee8218c64982cc92e94 /games/lugaru
parentec789c3935234eb18aa8715a2691f5966e60b50f (diff)
downloadports-ff770b517f53c2a9dd183c4ca391fa5c12ab4d02.tar.gz
ports-ff770b517f53c2a9dd183c4ca391fa5c12ab4d02.zip
Notes
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);