summaryrefslogtreecommitdiff
path: root/games/xpipeman
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2006-08-02 19:58:54 +0000
committerkristerw <kristerw@pkgsrc.org>2006-08-02 19:58:54 +0000
commit0be55b73cc7788525af5b3d3c2279ea3be2e6a07 (patch)
tree4d740bfda1e0d1b57ec6ae598801128eb1e3ce86 /games/xpipeman
parenta6a547d3a3b0a48aed1ddd61faa38d03dc9e4b66 (diff)
downloadpkgsrc-0be55b73cc7788525af5b3d3c2279ea3be2e6a07.tar.gz
Fix "static declaration follows non-static" errors that prevented build
with gcc 4.1.
Diffstat (limited to 'games/xpipeman')
-rw-r--r--games/xpipeman/distinfo4
-rw-r--r--games/xpipeman/patches/patch-af36
2 files changed, 32 insertions, 8 deletions
diff --git a/games/xpipeman/distinfo b/games/xpipeman/distinfo
index 59a4d07fe44..6eb7ea5394f 100644
--- a/games/xpipeman/distinfo
+++ b/games/xpipeman/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/06/14 18:32:48 jmmv Exp $
+$NetBSD: distinfo,v 1.5 2006/08/02 19:58:54 kristerw Exp $
SHA1 (xpipeman-1.5.tar.gz) = 065ec572f7be019737e2bb9ed131bc907c713cc5
RMD160 (xpipeman-1.5.tar.gz) = 9668409dadf70bf5bf4a546a3340846191937c74
@@ -8,4 +8,4 @@ SHA1 (patch-ab) = 43bea8141e49a300402d435d4858ec61284efa52
SHA1 (patch-ac) = d0c388585988208e47b69dcaa1131870f74676a1
SHA1 (patch-ad) = a97f685ab79b18d7717ccaf8771b34f645492434
SHA1 (patch-ae) = 850a1d6d46df30303021d09b62879e0d7b3d960b
-SHA1 (patch-af) = 7b1f5bcbe9518668bd1ca84fd7e58309dedfb232
+SHA1 (patch-af) = fe20d1ef815c10a1130ac0bfeef5802dc9a8a1fe
diff --git a/games/xpipeman/patches/patch-af b/games/xpipeman/patches/patch-af
index 61d80e09ca5..6cc731cde19 100644
--- a/games/xpipeman/patches/patch-af
+++ b/games/xpipeman/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.3 2005/06/14 18:32:48 jmmv Exp $
+$NetBSD: patch-af,v 1.4 2006/08/02 19:58:54 kristerw Exp $
--- score.c.orig 1991-09-13 22:32:12.000000000 +0200
-+++ score.c
-@@ -70,7 +70,7 @@ void show_scores(),
++++ score.c 2006-08-02 21:55:55.000000000 +0200
+@@ -70,7 +70,7 @@
write_out_scores();
static FILE *scorefile = 0;
@@ -11,7 +11,7 @@ $NetBSD: patch-af,v 1.3 2005/06/14 18:32:48 jmmv Exp $
/*----------------------------------------------------------------------*/
-@@ -87,7 +87,7 @@ check_score(current_score,level)
+@@ -87,7 +87,7 @@
}
if(scorefile) {
#ifndef SYSV
@@ -20,7 +20,13 @@ $NetBSD: patch-af,v 1.3 2005/06/14 18:32:48 jmmv Exp $
#endif
fclose(scorefile);
show_scores();
-@@ -100,12 +100,12 @@ load_scores()
+@@ -95,17 +95,17 @@
+ }
+
+
+-static void
++void
+ load_scores()
{
int i = 0;
@@ -36,7 +42,25 @@ $NetBSD: patch-af,v 1.3 2005/06/14 18:32:48 jmmv Exp $
#endif
while( fgets(scores[i].score,6,scorefile) /* get score */
&& fgets(scores[i].name,26,scorefile) /* get name */
-@@ -281,7 +281,7 @@ show_scores_callback()
+@@ -118,7 +118,7 @@
+ }
+
+
+-static void
++void
+ new_high_score(current_score,level)
+ int current_score,level;
+ {
+@@ -151,7 +151,7 @@
+ }
+
+
+-static void
++void
+ write_out_scores()
+ {
+ int i;
+@@ -281,7 +281,7 @@
if(scorefile) {
#ifndef SYSV