diff options
author | kristerw <kristerw@pkgsrc.org> | 2006-08-02 16:04:33 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2006-08-02 16:04:33 +0000 |
commit | 27b1f9545cce428fc02979cbc5b13ebf45ea1b4f (patch) | |
tree | 4be33c209aae10d3e07c3c2b0dfc6417d66c237d /games/spider | |
parent | 4f74c39f4394cabf8287eac520d3184a94597378 (diff) | |
download | pkgsrc-27b1f9545cce428fc02979cbc5b13ebf45ea1b4f.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/distinfo | 3 | ||||
-rw-r--r-- | games/spider/patches/patch-ac | 34 |
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) { |