summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-10-14 18:12:39 +0000
committerSven Wegener <swegener@gentoo.org>2006-10-14 18:12:39 +0000
commiteddc80bd90024f2d4bfba192d58d6248449f9f28 (patch)
tree7d735c6479149eebd36dd9a7610863fbf987a24c /app-arch/tar/files
parentEbuild cleanup. (diff)
downloadgentoo-2-eddc80bd90024f2d4bfba192d58d6248449f9f28.tar.gz
gentoo-2-eddc80bd90024f2d4bfba192d58d6248449f9f28.tar.bz2
gentoo-2-eddc80bd90024f2d4bfba192d58d6248449f9f28.zip
Revision bump, with patch to fix the stdin/stderr weirdness. Should fix bug #151239.
(Portage version: 2.1.2_pre3-r1)
Diffstat (limited to 'app-arch/tar/files')
-rw-r--r--app-arch/tar/files/1.15.92-stderr.patch37
-rw-r--r--app-arch/tar/files/digest-tar-1.15.92-r13
2 files changed, 40 insertions, 0 deletions
diff --git a/app-arch/tar/files/1.15.92-stderr.patch b/app-arch/tar/files/1.15.92-stderr.patch
new file mode 100644
index 000000000000..c324b8e7e53a
--- /dev/null
+++ b/app-arch/tar/files/1.15.92-stderr.patch
@@ -0,0 +1,37 @@
+Index: src/buffer.c
+===================================================================
+RCS file: /sources/tar/tar/src/buffer.c,v
+retrieving revision 1.107
+retrieving revision 1.108
+diff --unified -B -b -r1.107 -r1.108
+--- src/buffer.c 2 Oct 2006 15:44:09 -0000 1.107
++++ src/buffer.c 14 Oct 2006 10:45:44 -0000 1.108
+@@ -474,6 +474,11 @@
+ abort (); /* Should not happen */
+ break;
+ }
++
++ if (!index_file_name
++ && wanted_access == ACCESS_WRITE
++ && strcmp (archive_name_array[0], "-") == 0)
++ stdlis = stderr;
+ }
+ else if (strcmp (archive_name_array[0], "-") == 0)
+ {
+@@ -499,12 +504,16 @@
+
+ case ACCESS_WRITE:
+ archive = STDOUT_FILENO;
++ if (!index_file_name)
++ stdlis = stderr;
+ break;
+
+ case ACCESS_UPDATE:
+ archive = STDIN_FILENO;
+ write_archive_to_stdout = true;
+ record_end = record_start; /* set up for 1st record = # 0 */
++ if (!index_file_name)
++ stdlis = stderr;
+ break;
+ }
+ }
diff --git a/app-arch/tar/files/digest-tar-1.15.92-r1 b/app-arch/tar/files/digest-tar-1.15.92-r1
new file mode 100644
index 000000000000..5ebf7e5ec7d9
--- /dev/null
+++ b/app-arch/tar/files/digest-tar-1.15.92-r1
@@ -0,0 +1,3 @@
+MD5 a3eb73178ed9e4a2eaefb62b1a65eb58 tar-1.15.92.tar.bz2 1766348
+RMD160 053d80a22f4df6b9121de8400a47d300f72b7c0b tar-1.15.92.tar.bz2 1766348
+SHA256 14e36c1140133c70e8f2a892d8b8a3a55a7639c1d54baf39b41a34586d8b09c5 tar-1.15.92.tar.bz2 1766348