summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-11 01:44:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-11 01:44:56 +0000
commit5ba1a779442b84bc2fbc36af9254ff2e6d9a24b8 (patch)
treecd298a6049bfb8a442fc3e2a0467fa6590726c2d /app-arch
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-5ba1a779442b84bc2fbc36af9254ff2e6d9a24b8.tar.gz
gentoo-2-5ba1a779442b84bc2fbc36af9254ff2e6d9a24b8.tar.bz2
gentoo-2-5ba1a779442b84bc2fbc36af9254ff2e6d9a24b8.zip
fix REMOTE_SHELL error #66959
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/tar/ChangeLog6
-rw-r--r--app-arch/tar/files/1.14.90-remote-shell.patch23
-rw-r--r--app-arch/tar/tar-1.14.90.ebuild6
3 files changed, 32 insertions, 3 deletions
diff --git a/app-arch/tar/ChangeLog b/app-arch/tar/ChangeLog
index e1062cacb5d1..fd4b414caa13 100644
--- a/app-arch/tar/ChangeLog
+++ b/app-arch/tar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/tar
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.29 2004/10/10 20:26:15 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.30 2004/10/11 01:44:56 vapier Exp $
+
+ 10 Oct 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/1.14.90-remote-shell.patch, tar-1.14.90.ebuild:
+ Fix build failure when rsh doesnt exist #66959 by Didier Link.
10 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> tar-1.14.90.ebuild:
Fixed SRC_URI.
diff --git a/app-arch/tar/files/1.14.90-remote-shell.patch b/app-arch/tar/files/1.14.90-remote-shell.patch
new file mode 100644
index 000000000000..c5dd6e699c47
--- /dev/null
+++ b/app-arch/tar/files/1.14.90-remote-shell.patch
@@ -0,0 +1,23 @@
+--- src/tar.c.orig 2004-10-10 21:39:07.872276960 -0400
++++ src/tar.c 2004-10-10 21:39:52.512490616 -0400
+@@ -544,10 +544,18 @@
+ show_default_settings (FILE *stream)
+ {
+ fprintf (stream,
+- "--format=%s -f%s -b%d --rmt-command=%s --rsh-command=%s\n",
++ "--format=%s -f%s -b%d --rmt-command=%s"
++#ifdef REMOTE_SHELL
++" --rsh-command=%s"
++#endif
++ "\n",
+ archive_format_string (DEFAULT_ARCHIVE_FORMAT),
+ DEFAULT_ARCHIVE, DEFAULT_BLOCKING,
+- DEFAULT_RMT_COMMAND, REMOTE_SHELL);
++ DEFAULT_RMT_COMMAND
++#ifdef REMOTE_SHELL
++ ,REMOTE_SHELL
++#endif
++ );
+ }
+
+ static void
diff --git a/app-arch/tar/tar-1.14.90.ebuild b/app-arch/tar/tar-1.14.90.ebuild
index d2b2efaa14e0..0af17985cd09 100644
--- a/app-arch/tar/tar-1.14.90.ebuild
+++ b/app-arch/tar/tar-1.14.90.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.14.90.ebuild,v 1.2 2004/10/10 20:26:15 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.14.90.ebuild,v 1.3 2004/10/11 01:44:56 vapier Exp $
inherit flag-o-matic eutils gnuconfig
DESCRIPTION="Use this to make tarballs :)"
HOMEPAGE="http://www.gnu.org/software/tar/"
-SRC_URI="http://alpha.gnu.org/gnu/tar/${P}.tar.bz2"
+SRC_URI="http://alpha.gnu.org/gnu/tar/${P}.tar.bz2
+ mirror://gnu/tar/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -23,6 +24,7 @@ RDEPEND="${DEPEND}
src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/${PV}-remote-shell.patch
gnuconfig_update
use static && append-ldflags -static
}