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
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')
-rw-r--r--app-arch/tar/ChangeLog6
-rw-r--r--app-arch/tar/files/tar-1.15.1-gcc4-test.patch17
-rw-r--r--app-arch/tar/tar-1.15.1.ebuild3
3 files changed, 24 insertions, 2 deletions
diff --git a/app-arch/tar/ChangeLog b/app-arch/tar/ChangeLog
index b921a88d06e6..4af8ba3af80f 100644
--- a/app-arch/tar/ChangeLog
+++ b/app-arch/tar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/tar
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.44 2005/03/27 00:38:33 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.45 2005/04/07 01:49:24 vapier Exp $
+
+ 07 Apr 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/tar-1.15.1-gcc4-test.patch, tar-1.15.1.ebuild:
+ Add patch from Fedora to fix tests with gcc4 #88214 by Ryan Hill.
27 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> tar-1.15.1.ebuild:
Stable on ppc.
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[] = {
diff --git a/app-arch/tar/tar-1.15.1.ebuild b/app-arch/tar/tar-1.15.1.ebuild
index e976f16fc90f..eb4098528037 100644
--- a/app-arch/tar/tar-1.15.1.ebuild
+++ b/app-arch/tar/tar-1.15.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.15.1.ebuild,v 1.6 2005/03/27 00:38:33 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.15.1.ebuild,v 1.7 2005/04/07 01:49:24 vapier Exp $
inherit flag-o-matic eutils
@@ -25,6 +25,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-flex-arg.patch
+ epatch "${FILESDIR}"/${P}-gcc4-test.patch
}
src_compile() {