commit: a22a824f29b79da0bf9821bd53b56f130a31674e Author: Alessandro Calorì <axelgenus <AT> gmail <DOT> com> AuthorDate: Tue Feb 23 10:10:07 2016 +0000 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> CommitDate: Tue Feb 23 10:10:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a824f
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 .../librsync/files/librsync-0.9.7-fix-testsuite.patch | 15 +++++++++++++++ net-libs/librsync/librsync-0.9.7-r3.ebuild | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) 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 0000000..df35f09 --- /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 <w...@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 \ diff --git a/net-libs/librsync/librsync-0.9.7-r3.ebuild b/net-libs/librsync/librsync-0.9.7-r3.ebuild index 704e50c..b365d55 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() {