net-libs/librsync: fix testsuite for v0.9.7, fix bug #511954
authorAlessandro Calorì <axelgenus@gmail.com>
Tue, 23 Feb 2016 10:10:07 +0000 (11:10 +0100)
committerAlessandro Calorì <axelgenus@gmail.com>
Tue, 23 Feb 2016 10:10:07 +0000 (11:10 +0100)
Added "librsync-0.9.7-fix-testsuite.patch" to fix compilation of librsync 0.9.7
when "test" feature is enabled in Portage. The patch has been sourced from the
Debian package librsync1-0.9.7-10 and has been provided by Andrey Rahmatullin.

Gentoo-bug: #511954

Package-Manager: portage-2.2.26

net-libs/librsync/files/librsync-0.9.7-fix-testsuite.patch [new file with mode: 0644]
net-libs/librsync/librsync-0.9.7-r3.ebuild

diff --git a/net-libs/librsync/files/librsync-0.9.7-fix-testsuite.patch b/net-libs/librsync/files/librsync-0.9.7-fix-testsuite.patch
new file mode 100644 (file)
index 0000000..df35f09
--- /dev/null
@@ -0,0 +1,15 @@
+Description: Fix running tests with the parallel harness
+Author: Andrey Rahmatullin <wrar@wrar.name>
+Last-Update: 2013-06-26
+
+--- a/testsuite/Makefile.am
++++ b/testsuite/Makefile.am
+@@ -29,7 +29,7 @@ isprefix_driver_LDADD = ../isprefix.o # XXX: should link replaced functions
+ # failed.  Generally these tests should be ordered so that more basic
+  # tests are run first.
+   
+   -TESTS_ENVIRONMENT = $(SH) $(srcdir)/driver.sh
+   +TEST_LOG_COMPILER = $(SH) $(srcdir)/driver.sh
+    
+     TESTS = \
+       signature.test mutate.test sources.test isprefix.test   \
index 704e50c4b14e127ee743ed5124b56e413cc4ea15..b365d5525304956e1039ab5b073206e6a270b3ed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -25,6 +25,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-format-security.patch
        "${FILESDIR}"/${P}-getopt.patch
        "${FILESDIR}"/${P}-implicit-declaration.patch
+       "${FILESDIR}"/${P}-fix-testsuite.ebuild
        )
 
 src_prepare() {