pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/vms-empire Fix "static declaration follows non-s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/23466e301ce7
branches: trunk
changeset: 517001:23466e301ce7
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Wed Aug 02 16:15:49 2006 +0000
description:
Fix "static declaration follows non-static" errors that prevented build
with gcc 4.1.
diffstat:
games/vms-empire/distinfo | 3 ++-
games/vms-empire/patches/patch-ab | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r f3d9ac2134f5 -r 23466e301ce7 games/vms-empire/distinfo
--- a/games/vms-empire/distinfo Wed Aug 02 16:04:33 2006 +0000
+++ b/games/vms-empire/distinfo Wed Aug 02 16:15:49 2006 +0000
@@ -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 -r f3d9ac2134f5 -r 23466e301ce7 games/vms-empire/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/vms-empire/patches/patch-ab Wed Aug 02 16:15:49 2006 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index