From: Alessandro Calorì Date: Tue, 23 Feb 2016 10:10:07 +0000 (+0100) Subject: net-libs/librsync: fix testsuite for v0.9.7, fix bug #511954 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a22a824f29b79da0bf9821bd53b56f130a31674e;p=gentoo.git net-libs/librsync: fix testsuite for v0.9.7, fix bug #511954 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 --- 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 index 000000000000..df35f0973ecc --- /dev/null +++ b/net-libs/librsync/files/librsync-0.9.7-fix-testsuite.patch @@ -0,0 +1,15 @@ +Description: Fix running tests with the parallel harness +Author: Andrey Rahmatullin +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 \ diff --git a/net-libs/librsync/librsync-0.9.7-r3.ebuild b/net-libs/librsync/librsync-0.9.7-r3.ebuild index 704e50c4b14e..b365d5525304 100644 --- a/net-libs/librsync/librsync-0.9.7-r3.ebuild +++ b/net-libs/librsync/librsync-0.9.7-r3.ebuild @@ -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() {