aboutsummaryrefslogtreecommitdiff
path: root/games/irrlamb
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 03:54:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 03:54:15 +0000
commit601fd8e61d72196dcc05700fbcb16a82e307fad1 (patch)
tree59a900b04a3597a4a3327005914b7a4cb39da8a9 /games/irrlamb
parent99b46e2014a23ee64b6d51fce8a4c27ce8d346a3 (diff)
downloadports-601fd8e61d72196dcc05700fbcb16a82e307fad1.tar.gz
ports-601fd8e61d72196dcc05700fbcb16a82e307fad1.zip
Notes
Diffstat (limited to 'games/irrlamb')
-rw-r--r--games/irrlamb/Makefile1
-rw-r--r--games/irrlamb/files/patch-src-engine-save.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/games/irrlamb/Makefile b/games/irrlamb/Makefile
index 733056cfcd66..42e84be9e1a7 100644
--- a/games/irrlamb/Makefile
+++ b/games/irrlamb/Makefile
@@ -17,6 +17,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht
USE_LUA= 5.1+
USE_SCONS= yes
+USE_DOS2UNIX= src/engine/save.h
CPPPATH= ${LOCALBASE}/include ${LUA_INCDIR}
LIBPATH= ${LOCALBASE}/lib ${LUA_LIBDIR}
diff --git a/games/irrlamb/files/patch-src-engine-save.h b/games/irrlamb/files/patch-src-engine-save.h
new file mode 100644
index 000000000000..a213ae4ae55f
--- /dev/null
+++ b/games/irrlamb/files/patch-src-engine-save.h
@@ -0,0 +1,10 @@
+--- src/engine/save.h.orig 2009-12-29 03:43:28.000000000 +0300
++++ src/engine/save.h 2013-09-14 07:46:32.762415408 +0400
+@@ -22,6 +22,7 @@
+ #include "singleton.h"
+ #include <irrlicht/irrlicht.h>
+ #include <map>
++#include <ctime>
+
+ // Namespaces
+ using namespace irr;