pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xarchon Fix "static declaration follows non-stat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a0a7507a1da
branches:  trunk
changeset: 517019:7a0a7507a1da
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Thu Aug 03 01:00:00 2006 +0000

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

diffstat:

 games/xarchon/distinfo         |   4 +++-
 games/xarchon/patches/patch-ao |  12 ++++++++++++
 games/xarchon/patches/patch-ap |  15 +++++++++++++++
 3 files changed, 30 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r dfe3531776d8 -r 7a0a7507a1da games/xarchon/distinfo
--- a/games/xarchon/distinfo    Thu Aug 03 00:39:24 2006 +0000
+++ b/games/xarchon/distinfo    Thu Aug 03 01:00:00 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2006/04/28 16:23:55 joerg Exp $
+$NetBSD: distinfo,v 1.10 2006/08/03 01:00:00 kristerw Exp $
 
 SHA1 (xarchon-0.60.tar.gz) = e68f79a712a8bff5ca18e5011d1582f7e5196f49
 RMD160 (xarchon-0.60.tar.gz) = fdaa7556ee980b004efe4aaae59618fddba8a10b
@@ -17,3 +17,5 @@
 SHA1 (patch-al) = 55693517ab21d4393b724844f091fc3e6833d764
 SHA1 (patch-am) = 619b7e66a072666c499abfde09fe707cd7d06d3f
 SHA1 (patch-an) = f0be4b2d99512c0130c4d1be7bfb99eb6923ff19
+SHA1 (patch-ao) = b472cace00aa8ee151fb9e37ec79b40e2574ea88
+SHA1 (patch-ap) = 524ef2d48a6c02f7052199a92c0ece690cb7a51f
diff -r dfe3531776d8 -r 7a0a7507a1da games/xarchon/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xarchon/patches/patch-ao    Thu Aug 03 01:00:00 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ao,v 1.1 2006/08/03 01:00:00 kristerw Exp $
+
+--- src/board.h.orig   2002-01-09 19:34:33.000000000 +0100
++++ src/board.h        2006-08-03 02:52:38.000000000 +0200
+@@ -98,7 +98,6 @@
+ /*--------------------------------------------------------------------------*/
+ 
+ extern int board_turn;
+-extern int board_frame_time;
+ extern CELL board_cells[BOARD_YCELLS][BOARD_XCELLS];
+ extern int spell_avails[3][SPELL_COUNT_2]; /* row 0 is light, row 1 is dark */
+ extern int init_board_cells[NUM_GAMES][BOARD_YCELLS][BOARD_XCELLS];
diff -r dfe3531776d8 -r 7a0a7507a1da games/xarchon/patches/patch-ap
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xarchon/patches/patch-ap    Thu Aug 03 01:00:00 2006 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ap,v 1.1 2006/08/03 01:00:00 kristerw Exp $
+
+--- src/Xarchon_Genetic.hpp.orig       2006-08-03 02:55:00.000000000 +0200
++++ src/Xarchon_Genetic.hpp    2006-08-03 02:55:36.000000000 +0200
+@@ -82,8 +82,8 @@
+   Xarchon_Genetic_Generation *gg;
+ public:
+   Xarchon_Evolution(char *test,char *pop,int num);
+-  Genetic_Population<Xarchon_Goal_Test> *Xarchon_Evolution::Operate(Genetic_Population<Xarchon_Goal_Test> *p);
+-  Genetic_Population<Xarchon_Goal_Test> *Xarchon_Evolution::Operate(void);
++  Genetic_Population<Xarchon_Goal_Test> *Operate(Genetic_Population<Xarchon_Goal_Test> *p);
++  Genetic_Population<Xarchon_Goal_Test> *Operate(void);
+   virtual ~Xarchon_Evolution(void);
+ };
+ 



Home | Main Index | Thread Index | Old Index