summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Calorì <axelgenus@gmail.com>2016-02-23 11:10:07 +0100
committerAlessandro Calorì <axelgenus@gmail.com>2016-02-23 11:10:07 +0100
commita22a824f29b79da0bf9821bd53b56f130a31674e (patch)
treebb17769760fd39fb621e539e2e49df3d631c6ea8 /net-libs
parentdev-python/spyder: Following EAPI 6 bump, convert patch to p1 format. (diff)
downloadgentoo-a22a824f29b79da0bf9821bd53b56f130a31674e.tar.gz
gentoo-a22a824f29b79da0bf9821bd53b56f130a31674e.tar.bz2
gentoo-a22a824f29b79da0bf9821bd53b56f130a31674e.zip
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
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/librsync/files/librsync-0.9.7-fix-testsuite.patch15
-rw-r--r--net-libs/librsync/librsync-0.9.7-r3.ebuild3
2 files changed, 17 insertions, 1 deletions
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 <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 \
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() {