if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib
-I../src -O2 -march=pentium3 -fomit-frame-pointer -pipe -fno-ident
-floop-optimize2 -ftree-vectorize -ftree-vectorizer-verbose=1 -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[2]: *** [genfile.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/tar-1.15.1/work/tar-1.15.1/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/tar-1.15.1/work/tar-1.15.1/tests'
make: *** [check-recursive] Error 1
!!! ERROR: app-arch/tar-1.15.1 failed.
the attached patch, yoinked from fedora cvs, allows the tar testsuite to be
built with gcc 4.0 by declaring argp_program_version and
argp_program_bug_address as non-static in /tests/genfile.c