Package: tar
Version: 1.15-1
Severity: normal
Tags: patch
> make[3]: Entering directory `/build/buildd/tar-1.15.1/tests'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I../src -O2 -g
> -Wall -MT genfile.o -MD -MP -MF ".deps/genfile.Tpo" -c -o genfile.o
> genfile.c; \
> then mv -f ".deps/genfile.Tpo" ".deps/genfile.Po"; else rm -f
> ".deps/genfile.Tpo"; exit 1; fi
> genfile.c:63: error: static declaration of 'argp_program_version' follows
> non-static declaration
> ../lib/argp.h:428: error: previous declaration of 'argp_program_version' was
> here
> genfile.c:64: error: static declaration of 'argp_program_bug_address' follows
> non-static declaration
> ../lib/argp.h:444: error: previous declaration of 'argp_program_bug_address'
> was here
> make[3]: *** [genfile.o] Error 1
> make[3]: Leaving directory `/build/buildd/tar-1.15.1/tests'
The patch below fixes it.
lamont
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
===================================================================================
diff -ur t/tar-1.15.1/tests/genfile.c tar-1.15.1/tests/genfile.c
--- t/tar-1.15.1/tests/genfile.c 2004-09-08 05:50:20.000000000 -0600
+++ tar-1.15.1/tests/genfile.c 2005-05-12 08:20:27.000000000 -0600
@@ -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[] = {
===================================================================================
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]