summaryrefslogtreecommitdiff
path: root/games/spider
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2006-08-02 16:04:33 +0000
committerkristerw <kristerw@pkgsrc.org>2006-08-02 16:04:33 +0000
commit35e2fbec30f123aa4ebbaaf30b9054876aaeab9a (patch)
tree4be33c209aae10d3e07c3c2b0dfc6417d66c237d /games/spider
parent42fdeb415cbd5dab5b6771ae2f5d8d30e69569df (diff)
downloadpkgsrc-35e2fbec30f123aa4ebbaaf30b9054876aaeab9a.tar.gz
Fix "static declaration follows non-static" errors that prevented build
with gcc 4.1.
Diffstat (limited to 'games/spider')
-rw-r--r--games/spider/distinfo3
-rw-r--r--games/spider/patches/patch-ac34
2 files changed, 36 insertions, 1 deletions
diff --git a/games/spider/distinfo b/games/spider/distinfo
index 36174116b3d..617bf443737 100644
--- a/games/spider/distinfo
+++ b/games/spider/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 23:12:03 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/08/02 16:04:33 kristerw Exp $
SHA1 (spider.tar.gz) = 384c43857b8a7322ba1c80bc37513415f75db482
RMD160 (spider.tar.gz) = aedcf3e18eeefd98f475b2c2408f49b99f4f9ef0
Size (spider.tar.gz) = 95318 bytes
SHA1 (patch-aa) = 204b8d75f8583fe71f89f18dfdd1774cd2042b2f
SHA1 (patch-ab) = 1ae99ebe79d79beee3bd0ebd62998f62c6fca51e
+SHA1 (patch-ac) = eba9502b078037755027b0095155fb9b0e4c7c8b
diff --git a/games/spider/patches/patch-ac b/games/spider/patches/patch-ac
new file mode 100644
index 00000000000..ba0fa61f897
--- /dev/null
+++ b/games/spider/patches/patch-ac
@@ -0,0 +1,34 @@
+$NetBSD: patch-ac,v 1.1 2006/08/02 16:04:33 kristerw Exp $
+
+--- movelog.c.orig 2006-08-02 17:55:55.000000000 +0200
++++ movelog.c 2006-08-02 17:57:51.000000000 +0200
+@@ -33,6 +33,9 @@
+
+ extern int cheat_count;
+
++static int card_to_int(CardPtr card);
++static int restore_game(char* str, char* str2);
++
+ make_deck_cache()
+ {
+ CardPtr tmp;
+@@ -299,8 +302,7 @@
+ }
+
+ static int
+-card_to_int(card)
+-CardPtr card;
++card_to_int(CardPtr card)
+ {
+ int val;
+
+@@ -787,8 +789,7 @@
+ }
+
+ static int
+-restore_game(str, str2)
+-char *str, *str2;
++restore_game(char* str, char* str2)
+ {
+
+ if (read_position(str) != 0) {