pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/spider Fix "static declaration follows non-stati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3d9ac2134f5
branches:  trunk
changeset: 517000:f3d9ac2134f5
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Wed Aug 02 16:04:33 2006 +0000

description:
Fix "static declaration follows non-static" errors that prevented build
with gcc 4.1.

diffstat:

 games/spider/distinfo         |   3 ++-
 games/spider/patches/patch-ac |  34 ++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletions(-)

diffs (51 lines):

diff -r 829a53ead79c -r f3d9ac2134f5 games/spider/distinfo
--- a/games/spider/distinfo     Wed Aug 02 15:44:36 2006 +0000
+++ b/games/spider/distinfo     Wed Aug 02 16:04:33 2006 +0000
@@ -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 -r 829a53ead79c -r f3d9ac2134f5 games/spider/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/spider/patches/patch-ac     Wed Aug 02 16:04:33 2006 +0000
@@ -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)    {



Home | Main Index | Thread Index | Old Index