pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/gturing Do not declare static variables in a hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb2607431fdc
branches:  trunk
changeset: 508715:fb2607431fdc
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Feb 24 01:56:35 2006 +0000

description:
Do not declare static variables in a header file.  This makes the package
build with gcc-4.

diffstat:

 games/gturing/distinfo         |   3 ++-
 games/gturing/patches/patch-ab |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 084ff7671cd8 -r fb2607431fdc games/gturing/distinfo
--- a/games/gturing/distinfo    Fri Feb 24 01:34:36 2006 +0000
+++ b/games/gturing/distinfo    Fri Feb 24 01:56:35 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:11:59 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/02/24 01:56:35 minskim Exp $
 
 SHA1 (gturing-0.1.1.tar.bz2) = a9c25a69f6d6bf2de4c8ac329d3f9d97f55649a0
 RMD160 (gturing-0.1.1.tar.bz2) = b53bd8a565ef964162b445defac9de9d77d1a398
 Size (gturing-0.1.1.tar.bz2) = 376032 bytes
 SHA1 (patch-aa) = 07d404417d8fa4f8bf89212696f60e8ad28d43d4
+SHA1 (patch-ab) = 20df587e36d26119f2c58a178c39c2596d70699f
diff -r 084ff7671cd8 -r fb2607431fdc games/gturing/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/gturing/patches/patch-ab    Fri Feb 24 01:56:35 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2006/02/24 01:56:35 minskim Exp $
+
+--- src/turing.h.orig  2002-06-19 08:11:54.000000000 -0700
++++ src/turing.h
+@@ -56,9 +56,6 @@ typedef struct
+ }
+ turing;
+ 
+-extern gchar states_fname[1024];
+-extern gchar tape_string[1024];
+-
+ extern turing *turing_new(void);
+ extern gchar *turing_states_to_string(turing_state *state);
+ extern gint turing_fread_states(turing *machine, gchar *filename);



Home | Main Index | Thread Index | Old Index