1 |
commit: a22a824f29b79da0bf9821bd53b56f130a31674e |
2 |
Author: Alessandro Calorì <axelgenus <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 23 10:10:07 2016 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 23 10:10:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a824f |
7 |
|
8 |
net-libs/librsync: fix testsuite for v0.9.7, fix bug #511954 |
9 |
Added "librsync-0.9.7-fix-testsuite.patch" to fix compilation of librsync 0.9.7 |
10 |
when "test" feature is enabled in Portage. The patch has been sourced from the |
11 |
Debian package librsync1-0.9.7-10 and has been provided by Andrey Rahmatullin. |
12 |
|
13 |
Gentoo-bug: #511954 |
14 |
|
15 |
Package-Manager: portage-2.2.26 |
16 |
|
17 |
.../librsync/files/librsync-0.9.7-fix-testsuite.patch | 15 +++++++++++++++ |
18 |
net-libs/librsync/librsync-0.9.7-r3.ebuild | 3 ++- |
19 |
2 files changed, 17 insertions(+), 1 deletion(-) |
20 |
|
21 |
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 |
22 |
new file mode 100644 |
23 |
index 0000000..df35f09 |
24 |
--- /dev/null |
25 |
+++ b/net-libs/librsync/files/librsync-0.9.7-fix-testsuite.patch |
26 |
@@ -0,0 +1,15 @@ |
27 |
+Description: Fix running tests with the parallel harness |
28 |
+Author: Andrey Rahmatullin <wrar@××××.name> |
29 |
+Last-Update: 2013-06-26 |
30 |
+ |
31 |
+--- a/testsuite/Makefile.am |
32 |
++++ b/testsuite/Makefile.am |
33 |
+@@ -29,7 +29,7 @@ isprefix_driver_LDADD = ../isprefix.o # XXX: should link replaced functions |
34 |
+ # failed. Generally these tests should be ordered so that more basic |
35 |
+ # tests are run first. |
36 |
+ |
37 |
+ -TESTS_ENVIRONMENT = $(SH) $(srcdir)/driver.sh |
38 |
+ +TEST_LOG_COMPILER = $(SH) $(srcdir)/driver.sh |
39 |
+ |
40 |
+ TESTS = \ |
41 |
+ signature.test mutate.test sources.test isprefix.test \ |
42 |
|
43 |
diff --git a/net-libs/librsync/librsync-0.9.7-r3.ebuild b/net-libs/librsync/librsync-0.9.7-r3.ebuild |
44 |
index 704e50c..b365d55 100644 |
45 |
--- a/net-libs/librsync/librsync-0.9.7-r3.ebuild |
46 |
+++ b/net-libs/librsync/librsync-0.9.7-r3.ebuild |
47 |
@@ -1,4 +1,4 @@ |
48 |
-# Copyright 1999-2013 Gentoo Foundation |
49 |
+# Copyright 1999-2016 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Id$ |
52 |
|
53 |
@@ -25,6 +25,7 @@ PATCHES=( |
54 |
"${FILESDIR}"/${P}-format-security.patch |
55 |
"${FILESDIR}"/${P}-getopt.patch |
56 |
"${FILESDIR}"/${P}-implicit-declaration.patch |
57 |
+ "${FILESDIR}"/${P}-fix-testsuite.ebuild |
58 |
) |
59 |
|
60 |
src_prepare() { |