From 0e6297f4682d849d731ec014c0ff9a04b76eee54 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 4 Jul 2012 18:47:34 +0000 Subject: Remove incorrect 'static' keyword to fix build. --- benchmarks/filebench/distinfo | 3 ++- benchmarks/filebench/patches/patch-parser__gram.c | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 benchmarks/filebench/patches/patch-parser__gram.c diff --git a/benchmarks/filebench/distinfo b/benchmarks/filebench/distinfo index 411548c812e..f6b2b937eb2 100644 --- a/benchmarks/filebench/distinfo +++ b/benchmarks/filebench/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2012/07/02 17:43:16 asau Exp $ +$NetBSD: distinfo,v 1.2 2012/07/04 18:47:34 dholland Exp $ SHA1 (filebench-1.4.9.1.tar.gz) = 9082a4fcc97a0d803d3e8f8db7120883b5a97ab5 RMD160 (filebench-1.4.9.1.tar.gz) = 0621ce5646ad82c2d2e2cc1d7a128f204e5ebabd @@ -7,4 +7,5 @@ SHA1 (patch-configure.ac) = 28fb061651367e6d5e8d734bbd6dfbde2f7e4adc SHA1 (patch-filebench.h) = 1fbaa89823aac087f573cb20e46b3552f1adfbb3 SHA1 (patch-flowop.c) = 3e7a578fb7bfb8b36b33a75646b8320fe00a4ff2 SHA1 (patch-misc.c) = 79f83a6baaf3e2274b201bd970daf997b1daeeec +SHA1 (patch-parser__gram.c) = 0848c238c1f5cd88b2309cd8426e977480713c42 SHA1 (patch-procflow.c) = 6c5a96d4ef1a54691a90e6f318a63c83fb314160 diff --git a/benchmarks/filebench/patches/patch-parser__gram.c b/benchmarks/filebench/patches/patch-parser__gram.c new file mode 100644 index 00000000000..d92f102e5f8 --- /dev/null +++ b/benchmarks/filebench/patches/patch-parser__gram.c @@ -0,0 +1,15 @@ +$NetBSD: patch-parser__gram.c,v 1.1 2012/07/04 18:47:34 dholland Exp $ + +Take 'static' off a variable that's used in another file. Fixes broken build. + +--- parser_gram.c~ 2011-09-06 17:22:21.000000000 +0000 ++++ parser_gram.c +@@ -114,7 +114,7 @@ static GetLine *gl; + /* executable name to execute worker processes later */ + char *execname; + +-static int dofile = DOFILE_FALSE; ++int dofile = DOFILE_FALSE; + static FILE *parentscript; + + static char *fbbasepath = FILEBENCHDIR; -- cgit v1.2.3