pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xpipeman Fix "static declaration follows non-sta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff666f377ea6
branches:  trunk
changeset: 517008:ff666f377ea6
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Wed Aug 02 19:58:54 2006 +0000

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

diffstat:

 games/xpipeman/distinfo         |   4 ++--
 games/xpipeman/patches/patch-af |  36 ++++++++++++++++++++++++++++++------
 2 files changed, 32 insertions(+), 8 deletions(-)

diffs (81 lines):

diff -r 439e15d6ee9c -r ff666f377ea6 games/xpipeman/distinfo
--- a/games/xpipeman/distinfo   Wed Aug 02 19:24:55 2006 +0000
+++ b/games/xpipeman/distinfo   Wed Aug 02 19:58:54 2006 +0000
@@ -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-ac) = d0c388585988208e47b69dcaa1131870f74676a1
 SHA1 (patch-ad) = a97f685ab79b18d7717ccaf8771b34f645492434
 SHA1 (patch-ae) = 850a1d6d46df30303021d09b62879e0d7b3d960b
-SHA1 (patch-af) = 7b1f5bcbe9518668bd1ca84fd7e58309dedfb232
+SHA1 (patch-af) = fe20d1ef815c10a1130ac0bfeef5802dc9a8a1fe
diff -r 439e15d6ee9c -r ff666f377ea6 games/xpipeman/patches/patch-af
--- a/games/xpipeman/patches/patch-af   Wed Aug 02 19:24:55 2006 +0000
+++ b/games/xpipeman/patches/patch-af   Wed Aug 02 19:58:54 2006 +0000
@@ -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 @@
  
  /*----------------------------------------------------------------------*/
  
-@@ -87,7 +87,7 @@ check_score(current_score,level)
+@@ -87,7 +87,7 @@
    }
    if(scorefile) {
  #ifndef SYSV
@@ -20,7 +20,13 @@
  #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 @@
  #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



Home | Main Index | Thread Index | Old Index