From a0d1f4de88a8702e53dfedd0c43d26c713fe6da9 Mon Sep 17 00:00:00 2001 From: nemysis Date: Sat, 5 Dec 2015 14:56:05 +0000 Subject: - Add USES= pkgconfig, forgotten in previous commit - Add patch, fix build with 32-bit platforms PR: 205020 Submitted by: rakuco --- games/blobwars/Makefile | 2 +- games/blobwars/files/patch-src-CReplayDataHeader.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 games/blobwars/files/patch-src-CReplayDataHeader.h (limited to 'games') 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; -- cgit