summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-07 01:49:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-07 01:49:24 +0000
commit669b0c20560558137f298ef6deee839ecf79b468 (patch)
tree023b1dde63ccedae5be2356d422e08e4e0604ba1 /app-arch/tar/files
parentPatches for ppc64 hardened (diff)
downloadgentoo-2-669b0c20560558137f298ef6deee839ecf79b468.tar.gz
gentoo-2-669b0c20560558137f298ef6deee839ecf79b468.tar.bz2
gentoo-2-669b0c20560558137f298ef6deee839ecf79b468.zip
Add patch from Fedora to fix tests with gcc4 #88214 by Ryan Hill.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-arch/tar/files')
-rw-r--r--app-arch/tar/files/tar-1.15.1-gcc4-test.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-arch/tar/files/tar-1.15.1-gcc4-test.patch b/app-arch/tar/files/tar-1.15.1-gcc4-test.patch
new file mode 100644
index 000000000000..576c548ee8d0
--- /dev/null
+++ b/app-arch/tar/files/tar-1.15.1-gcc4-test.patch
@@ -0,0 +1,17 @@
+Taken from fedora to fix tests with gcc4
+
+http://bugs.gentoo.org/show_bug.cgi?id=88214
+
+--- tar-1.15.1/tests/genfile.c
++++ tar-1.15.1/tests/genfile.c
+@@ -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[] = {