summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-15 04:56:13 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-15 04:56:13 +0000
commitc4aa6385e7419d3a6ad92d59c8a81548b4434cb3 (patch)
tree1bd85eda7313c255199811b3df148306f127ece8 /app-arch/cpio/files
parentold (diff)
downloadhistorical-c4aa6385e7419d3a6ad92d59c8a81548b4434cb3.tar.gz
historical-c4aa6385e7419d3a6ad92d59c8a81548b4434cb3.tar.bz2
historical-c4aa6385e7419d3a6ad92d59c8a81548b4434cb3.zip
fix test building with gcc4 #89123 by Ryan Hill
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-arch/cpio/files')
-rw-r--r--app-arch/cpio/files/cpio-2.6-gcc4-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-arch/cpio/files/cpio-2.6-gcc4-tests.patch b/app-arch/cpio/files/cpio-2.6-gcc4-tests.patch
new file mode 100644
index 000000000000..554478a2227a
--- /dev/null
+++ b/app-arch/cpio/files/cpio-2.6-gcc4-tests.patch
@@ -0,0 +1,13 @@
+Rip out small change from upstream to fix building with GCC4.
+
+http://bugs.gentoo.org/show_bug.cgi?id=89123
+
+--- tests/genfile.c
++++ tests/genfile.c
+@@ -62,3 +69,3 @@
+
+-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");