summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2015-12-05 14:56:05 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2015-12-05 14:56:05 +0000
commit68aa16c30e0927f29c300b7a8b60af24b198f495 (patch)
tree49fac68c12376bc64e5bf056c7e9b27ba8a2c146 /games
parentFix ncurses linker script (diff)
- Add USES= pkgconfig, forgotten in previous commit
- Add patch, fix build with 32-bit platforms PR: 205020 Submitted by: rakuco
Notes
Notes: svn path=/head/; revision=403068
Diffstat (limited to 'games')
-rw-r--r--games/blobwars/Makefile2
-rw-r--r--games/blobwars/files/patch-src-CReplayDataHeader.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/games/blobwars/Makefile b/games/blobwars/Makefile
index af4dceb65271..7272cc3b0309 100644
--- a/games/blobwars/Makefile
+++ b/games/blobwars/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/doc/license
LICENSE_TEXT_CCbyNCSA3=CC-BY 3.0
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
-USES= gmake
+USES= gmake pkgconfig
USE_SDL= image2 mixer2 net2 sdl2 ttf2
WITH_ZLIB= yes
diff --git a/games/blobwars/files/patch-src-CReplayDataHeader.h b/games/blobwars/files/patch-src-CReplayDataHeader.h
new file mode 100644
index 000000000000..ffc395ef846a
--- /dev/null
+++ b/games/blobwars/files/patch-src-CReplayDataHeader.h
@@ -0,0 +1,11 @@
+--- src/CReplayDataHeader.h.orig 2015-11-21 23:18:19.000000000 +0100
++++ src/CReplayDataHeader.h 2015-12-04 19:36:24.513338595 +0100
+@@ -1,7 +1,7 @@
+ struct ReplayDataHeader
+ {
+ char map[PATH_MAX];
+- long randomSeed;
++ time_t randomSeed;
+ float version;
+ int release;
+ int skill;