summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-05 19:24:04 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-05 19:24:04 +0000
commit30a9b7708f05d175c4cc26d82b434259b6b8c12d (patch)
tree1f878781348893d69e46546711652fe127f9494c /app-arch
parentAdded to ~ppc. (Manifest recommit) (diff)
downloadgentoo-2-30a9b7708f05d175c4cc26d82b434259b6b8c12d.tar.gz
gentoo-2-30a9b7708f05d175c4cc26d82b434259b6b8c12d.tar.bz2
gentoo-2-30a9b7708f05d175c4cc26d82b434259b6b8c12d.zip
Add patch from upstream to make arguements more flexible #71076 by FieldySnuts.
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/tar/ChangeLog6
-rw-r--r--app-arch/tar/files/1.15.1-flex-arg.patch20
-rw-r--r--app-arch/tar/tar-1.15.1.ebuild8
3 files changed, 32 insertions, 2 deletions
diff --git a/app-arch/tar/ChangeLog b/app-arch/tar/ChangeLog
index 77e1bdf8eead..9199a2ad9d55 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.40 2005/01/05 15:20:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.41 2005/01/05 19:24:04 vapier Exp $
+
+ 05 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/1.15.1-flex-arg.patch, tar-1.15.1.ebuild:
+ Add patch from upstream to make arguements more flexible #71076 by FieldySnuts.
*tar-1.15.1 (05 Jan 2005)
diff --git a/app-arch/tar/files/1.15.1-flex-arg.patch b/app-arch/tar/files/1.15.1-flex-arg.patch
new file mode 100644
index 000000000000..9ccd4a1cd650
--- /dev/null
+++ b/app-arch/tar/files/1.15.1-flex-arg.patch
@@ -0,0 +1,20 @@
+Index: src/tar.c
+===================================================================
+RCS file: /cvsroot/tar/tar/src/tar.c,v
+retrieving revision 1.109
+retrieving revision 1.110
+diff -u -r1.109 -r1.110
+--- src/tar.c 22 Dec 2004 10:53:48 -0000 1.109
++++ src/tar.c 5 Jan 2005 17:30:36 -0000 1.110
+@@ -617,9 +617,9 @@
+
+ switch (key)
+ {
+- case 1:
++ case ARGP_KEY_ARG:
+ /* File name or non-parsed option, because of ARGP_IN_ORDER */
+- name_add (optarg);
++ name_add (arg);
+ args->input_files++;
+ break;
+
diff --git a/app-arch/tar/tar-1.15.1.ebuild b/app-arch/tar/tar-1.15.1.ebuild
index 1b2ae5742942..2d3b1320623a 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.1 2005/01/05 15:20:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.15.1.ebuild,v 1.2 2005/01/05 19:24:04 vapier Exp $
inherit flag-o-matic eutils
@@ -22,6 +22,12 @@ DEPEND="virtual/libc
RDEPEND="${DEPEND}
nls? ( >=sys-devel/gettext-0.10.35 )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-flex-arg.patch
+}
+
src_compile() {
use static && append-ldflags -static
# Work around bug in sandbox #67051