summaryrefslogtreecommitdiff
path: root/games/vms-empire
diff options
context:
space:
mode:
authorkristerw <kristerw>2006-08-02 16:15:49 +0000
committerkristerw <kristerw>2006-08-02 16:15:49 +0000
commit91ead0052dbd032dd40e02e1cc292d934eff3119 (patch)
tree6fabd39f5cdca0caac3e40debf5c2d47f3a46af4 /games/vms-empire
parent4ee75fdaa1019be99f8f7a91157a68689709e07f (diff)
downloadpkgsrc-91ead0052dbd032dd40e02e1cc292d934eff3119.tar.gz
Fix "static declaration follows non-static" errors that prevented build
with gcc 4.1.
Diffstat (limited to 'games/vms-empire')
-rw-r--r--games/vms-empire/distinfo3
-rw-r--r--games/vms-empire/patches/patch-ab17
2 files changed, 19 insertions, 1 deletions
diff --git a/games/vms-empire/distinfo b/games/vms-empire/distinfo
index c5bd2277f0b..e2c7c3a782b 100644
--- a/games/vms-empire/distinfo
+++ b/games/vms-empire/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/05/24 14:08:43 rillig Exp $
+$NetBSD: distinfo,v 1.5 2006/08/02 16:15:49 kristerw Exp $
SHA1 (vms-empire-1.7.tar.gz) = 3a9d697f333269ed486f93e77c54f3e688c96edc
RMD160 (vms-empire-1.7.tar.gz) = 931d4377c315643b1edde2d5f6a058cffaaf3da1
Size (vms-empire-1.7.tar.gz) = 84726 bytes
SHA1 (patch-aa) = 820fb0fc8b52918891a2d7ac03fb7491002a9cb2
+SHA1 (patch-ab) = 2cf492e58273942670e5f1b7d526895b40898a61
diff --git a/games/vms-empire/patches/patch-ab b/games/vms-empire/patches/patch-ab
new file mode 100644
index 00000000000..0bcef06a6e3
--- /dev/null
+++ b/games/vms-empire/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2006/08/02 16:15:49 kristerw Exp $
+
+--- game.c.orig 2006-08-02 18:11:35.000000000 +0200
++++ game.c 2006-08-02 18:12:56.000000000 +0200
+@@ -404,11 +404,10 @@
+
+ static long ncity, nland, nshore;
+
++static void mark_cont();
+ int good_cont (mapi)
+ long mapi;
+ {
+- static void mark_cont();
+-
+ long val;
+
+ ncity = 0; /* nothing seen yet */