app-arch/tar: Fix test 92
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 18 Dec 2017 18:33:16 +0000 (19:33 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 18 Dec 2017 18:33:53 +0000 (19:33 +0100)
Closes: https://bugs.gentoo.org/641508
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-arch/tar/files/tar-1.30-fix-test-92.patch [new file with mode: 0644]
app-arch/tar/tar-1.30.ebuild

diff --git a/app-arch/tar/files/tar-1.30-fix-test-92.patch b/app-arch/tar/files/tar-1.30-fix-test-92.patch
new file mode 100644 (file)
index 0000000..d5a63e4
--- /dev/null
@@ -0,0 +1,13 @@
+http://lists.gnu.org/archive/html/bug-tar/2017-12/msg00027.html
+
+--- a/tests/difflink.at
++++ b/tests/difflink.at
+@@ -21,7 +21,7 @@ mkdir a
+ genfile -f a/x
+ ln -s x a/y
+ ln a/y a/z
+-tar cf a.tar a
++tar cf a.tar a/x a/y a/z
+ rm a/z
+ ln -s x a/z
+ tar df a.tar
index 7a541404f34b0773a8b7a0d02925db8616fd79fc..a06f678cc8948b5b2668e93105b3b6fec364308c 100644 (file)
@@ -21,6 +21,8 @@ DEPEND="${RDEPEND}
        nls? ( >=sys-devel/gettext-0.10.35 )
        xattr? ( elibc_glibc? ( sys-apps/attr ) )"
 
+PATCHES=( "${FILESDIR}"/${P}-fix-test-92.patch )
+
 src_prepare() {
        default