# DIY Linux Patch
Date: 2005-03-29
Author: Greg Schafer <gschafer@zip.com.au>
Origin: Refer Author
Maker: Refer Author
Upstream Status: http://lists.gnu.org/archive/html/bug-tar/2005-01/msg00025.html
Description: Fix compilation with GCC4

diff -Naur tar-1.15.1.orig/tests/genfile.c tar-1.15.1/tests/genfile.c
--- tar-1.15.1.orig/tests/genfile.c	2004-09-08 11:50:20.000000000 +0000
+++ tar-1.15.1/tests/genfile.c	2005-03-29 05:20:02.000000000 +0000
@@ -60,8 +60,8 @@
 /* Block buffer for sparse file */
 char *buffer;
 
-static const char *argp_program_version = "genfile (" PACKAGE ") " VERSION;
-static const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";
+const char *argp_program_version = "genfile (" PACKAGE ") " VERSION;
+const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";
 static char doc[] = N_("genfile generates data files for GNU paxutils test suite");
 
 static struct argp_option options[] = {

