diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-15 05:37:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-15 05:37:22 +0800 |
commit | fa9dc9f1d2f4cb88df26d462493c4ddf59df2e74 (patch) | |
tree | 45b4318d9cea51e305038fc30aaf58dfde5b3592 /games | |
parent | ed605144f126427ff9962c238eb753e3d3d4f87e (diff) | |
download | freebsd-ports-gnome-fa9dc9f1d2f4cb88df26d462493c4ddf59df2e74.tar.gz freebsd-ports-gnome-fa9dc9f1d2f4cb88df26d462493c4ddf59df2e74.tar.zst freebsd-ports-gnome-fa9dc9f1d2f4cb88df26d462493c4ddf59df2e74.zip |
- Fix build with clang 3.7
Diffstat (limited to 'games')
-rw-r--r-- | games/irrlamb/Makefile | 3 | ||||
-rw-r--r-- | games/irrlamb/files/patch-src_engine_state.h | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/games/irrlamb/Makefile b/games/irrlamb/Makefile index 2c3a5e7be242..f19e62127843 100644 --- a/games/irrlamb/Makefile +++ b/games/irrlamb/Makefile @@ -16,7 +16,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht RUN_DEPENDS= ${LOCALBASE}/lib/libIrrlicht.so:${PORTSDIR}/x11-toolkits/irrlicht USES= scons dos2unix lua:51 -DOS2UNIX_FILES= src/engine/save.h src/objects/orb.cpp src/objects/player.cpp +DOS2UNIX_FILES= src/engine/save.h src/objects/orb.cpp src/objects/player.cpp \ + src/engine/state.h CPPPATH= ${LOCALBASE}/include ${LUA_INCDIR} LIBPATH= ${LOCALBASE}/lib ${LUA_LIBDIR} diff --git a/games/irrlamb/files/patch-src_engine_state.h b/games/irrlamb/files/patch-src_engine_state.h new file mode 100644 index 000000000000..6bff5cb92a45 --- /dev/null +++ b/games/irrlamb/files/patch-src_engine_state.h @@ -0,0 +1,10 @@ +--- src/engine/state.h.orig 2009-12-24 05:02:41 UTC ++++ src/engine/state.h +@@ -23,6 +23,7 @@ + // Namespaces + using namespace irr; + using namespace core; ++using namespace irr::core; + using namespace scene; + using namespace video; + using namespace io; |