svn commit: r362816 - in head/games/libdungeonmaker: . files
Adam Weinberger
adamw at FreeBSD.org
Thu Jul 24 16:08:40 UTC 2014
Author: adamw
Date: Thu Jul 24 16:08:39 2014
New Revision: 362816
URL: http://svnweb.freebsd.org/changeset/ports/362816
QAT: https://qat.redports.org/buildarchive/r362816/
Log:
include stdlib.h for rand(3) to fix build. While here, remove the profiled lib
from the plist. Its creation is changes with NO_PROFILE in src.conf, and it's
pretty unnecessary, so I'm removing it from the plist altogether for simplicity.
Added:
head/games/libdungeonmaker/files/patch-DungeonMaker.h (contents, props changed)
Modified:
head/games/libdungeonmaker/Makefile
head/games/libdungeonmaker/pkg-plist
Modified: head/games/libdungeonmaker/Makefile
==============================================================================
--- head/games/libdungeonmaker/Makefile Thu Jul 24 16:06:52 2014 (r362815)
+++ head/games/libdungeonmaker/Makefile Thu Jul 24 16:08:39 2014 (r362816)
@@ -22,7 +22,6 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/libdungeonmaker.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libdungeonmaker.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libdungeonmaker.so.2 ${STAGEDIR}${PREFIX}/lib
- ${INSTALL_LIB} ${WRKSRC}/libdungeonmaker_p.a ${STAGEDIR}${PREFIX}/lib
${INSTALL} ${WRKSRC}/DungeonMaker.h ${STAGEDIR}${PREFIX}/include
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/DM2_Manual/* ${STAGEDIR}${DOCSDIR}
Added: head/games/libdungeonmaker/files/patch-DungeonMaker.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/libdungeonmaker/files/patch-DungeonMaker.h Thu Jul 24 16:08:39 2014 (r362816)
@@ -0,0 +1,10 @@
+--- DungeonMaker.h.orig 2014-07-24 11:55:26.000000000 -0400
++++ DungeonMaker.h 2014-07-24 11:55:51.000000000 -0400
+@@ -22,6 +22,7 @@
+ #include <list>
+ #include <string>
+ #include <assert.h>
++#include <stdlib.h>
+
+ ///* ATTENTION: In this version, the method DungeonMaker:: PutPlonkOnMap() puts MOBs and treasure on the map literally, by changing the SquareData of the Map square where the stuff goes. This is just for demonstration purposes to make it easier to show stuff without having an engine for rendering objects. If you use the DungeonMaker in your own program, you must refrain from calling this function, and instead write your own function that puts stuff on the map as objects and leaves the MapData as it is.
+
Modified: head/games/libdungeonmaker/pkg-plist
==============================================================================
--- head/games/libdungeonmaker/pkg-plist Thu Jul 24 16:06:52 2014 (r362815)
+++ head/games/libdungeonmaker/pkg-plist Thu Jul 24 16:08:39 2014 (r362816)
@@ -2,7 +2,6 @@ include/DungeonMaker.h
lib/libdungeonmaker.a
lib/libdungeonmaker.so
lib/libdungeonmaker.so.2
-lib/libdungeonmaker_p.a
%%PORTDOCS%%%%DOCSDIR%%/Contents.gif
%%PORTDOCS%%%%DOCSDIR%%/Next.gif
%%PORTDOCS%%%%DOCSDIR%%/Prev.gif
More information about the svn-ports-head
mailing list