summaryrefslogtreecommitdiff
path: root/games/gnomeattacks/files/patch-src-game.c
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-02-20 15:27:12 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-02-20 15:27:12 +0000
commitb8c79d7091603f43f692ce59e72ab2805425614b (patch)
treeb942421c659c62c7865ec8f4fe0f9e0140a3f954 /games/gnomeattacks/files/patch-src-game.c
parentIn case the distfile of cdrdao is not available locally, the slave port (diff)
Fix build on CURRENT
PR: 63105 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Notes
Notes: svn path=/head/; revision=101506
Diffstat (limited to '')
-rw-r--r--games/gnomeattacks/files/patch-src-game.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/gnomeattacks/files/patch-src-game.c b/games/gnomeattacks/files/patch-src-game.c
new file mode 100644
index 000000000000..bfee2a72449a
--- /dev/null
+++ b/games/gnomeattacks/files/patch-src-game.c
@@ -0,0 +1,19 @@
+--- src/game.c.orig Thu Feb 19 22:33:32 2004
++++ src/game.c Thu Feb 19 22:33:44 2004
+@@ -15,6 +15,7 @@
+ #include "graphics.h"
+ #include "hiscore.h"
+
++GString* levelset_get_file_name( gchar* file_name );
+
+ /**
+ * Set up a random seed and set the levels to the first ones.
+@@ -271,8 +272,6 @@
+
+ va_list varptr;
+ gchar msg[255];
+-
+- varptr = NULL;
+
+ va_start( varptr, format );
+