From 075c335433c9ff6eac8e1b915233baba2826588e Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sat, 14 Sep 2013 03:54:15 +0000 Subject: Fix build with clang/libc++ --- games/irrlamb/Makefile | 1 + games/irrlamb/files/patch-src-engine-save.h | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 games/irrlamb/files/patch-src-engine-save.h 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 + #include ++#include + + // Namespaces + using namespace irr; -- cgit