summaryrefslogtreecommitdiff
path: root/package/tar/tar-remote-shell.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-11 19:55:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-11 19:55:27 +0000
commit9a8d02b02f4e9fc568b98cd9c97003bb27dd736c (patch)
tree6d8bf54cc04672970609737883313d4be0ec038e /package/tar/tar-remote-shell.patch
parentcfc584d677da51bf102f1e54a330f1a4983a15e4 (diff)
latest tar needs fixes from cvs
Diffstat (limited to 'package/tar/tar-remote-shell.patch')
-rw-r--r--package/tar/tar-remote-shell.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/tar/tar-remote-shell.patch b/package/tar/tar-remote-shell.patch
new file mode 100644
index 000000000..962da2e10
--- /dev/null
+++ b/package/tar/tar-remote-shell.patch
@@ -0,0 +1,23 @@
+--- tar.broke/src/tar.c.orig 2004-10-10 21:39:07.872276960 -0400
++++ tar/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