source:
scripts/patches/tar-1.15.1-gcc4_fix_tests.patch@
176b4b6
Last change on this file since 176b4b6 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.4 KB |
-
tar-1.15.1/tests/genfile.
Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> Date: 2005-04-25 Initial Package Version: 1.15.1 Origin: Ryan Oliver Description: Fix compilation issues with gcc4 if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I../src -O2 -pipe -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
old new 60 60 /* Block buffer for sparse file */ 61 61 char *buffer; 62 62 63 staticconst char *argp_program_version = "genfile (" PACKAGE ") " VERSION;64 staticconst char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";63 const char *argp_program_version = "genfile (" PACKAGE ") " VERSION; 64 const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; 65 65 static char doc[] = N_("genfile generates data files for GNU paxutils test suite"); 66 66 67 67 static struct argp_option options[] = {
Note:
See TracBrowser
for help on using the repository browser.