diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 11:54:15 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 11:54:15 +0800 |
commit | 075c335433c9ff6eac8e1b915233baba2826588e (patch) | |
tree | 59a900b04a3597a4a3327005914b7a4cb39da8a9 | |
parent | 226a8c0e9ff6b92edc70109678ab6439f9409ed7 (diff) | |
download | freebsd-ports-gnome-075c335433c9ff6eac8e1b915233baba2826588e.tar.gz freebsd-ports-gnome-075c335433c9ff6eac8e1b915233baba2826588e.tar.zst freebsd-ports-gnome-075c335433c9ff6eac8e1b915233baba2826588e.zip |
Fix build with clang/libc++
-rw-r--r-- | games/irrlamb/Makefile | 1 | ||||
-rw-r--r-- | games/irrlamb/files/patch-src-engine-save.h | 10 |
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; |