From ae6b22538e0f36e47799bb36f1ce83785bf18a72 Mon Sep 17 00:00:00 2001 From: minskim Date: Fri, 24 Feb 2006 01:56:35 +0000 Subject: Do not declare static variables in a header file. This makes the package build with gcc-4. --- games/gturing/distinfo | 3 ++- games/gturing/patches/patch-ab | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 games/gturing/patches/patch-ab (limited to 'games') 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); -- cgit v1.2.3