summaryrefslogtreecommitdiff
path: root/games/gturing
diff options
context:
space:
mode:
authorminskim <minskim>2006-02-24 01:56:35 +0000
committerminskim <minskim>2006-02-24 01:56:35 +0000
commitae6b22538e0f36e47799bb36f1ce83785bf18a72 (patch)
treed083841adcee2a9ec0886eca92f4861237cfa9ff /games/gturing
parentde76a446c07d861d42485943a9b56b395b144db9 (diff)
downloadpkgsrc-ae6b22538e0f36e47799bb36f1ce83785bf18a72.tar.gz
Do not declare static variables in a header file. This makes the package
build with gcc-4.
Diffstat (limited to 'games/gturing')
-rw-r--r--games/gturing/distinfo3
-rw-r--r--games/gturing/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/games/gturing/distinfo b/games/gturing/distinfo
index 514cfcfb948..2ad97dd347c 100644
--- a/games/gturing/distinfo
+++ b/games/gturing/distinfo
@@ -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 --git a/games/gturing/patches/patch-ab b/games/gturing/patches/patch-ab
new file mode 100644
index 00000000000..193e4c800e9
--- /dev/null
+++ b/games/gturing/patches/patch-ab
@@ -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);