1 |
commit: d0e604bac9f6462a3483cca607e51775ed91f942 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 21:09:07 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 21:09:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e604ba |
7 |
|
8 |
dev-libs/uthash: minor changes post-merge |
9 |
|
10 |
* Style changes |
11 |
* Tidy up patch |
12 |
|
13 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-libs/uthash/files/uthash-2.1.0-cflags.patch | 4 ++-- |
17 |
dev-libs/uthash/uthash-2.2.0.ebuild | 8 +++++--- |
18 |
2 files changed, 7 insertions(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch |
21 |
index 588ec26078c..246a5827afa 100644 |
22 |
--- a/dev-libs/uthash/files/uthash-2.1.0-cflags.patch |
23 |
+++ b/dev-libs/uthash/files/uthash-2.1.0-cflags.patch |
24 |
@@ -1,5 +1,5 @@ |
25 |
---- uthash-2.1.0/tests/Makefile |
26 |
-+++ uthash-2.1.0/tests/Makefile |
27 |
+--- a/tests/Makefile |
28 |
++++ b/tests/Makefile |
29 |
@@ -18,7 +18,7 @@ |
30 |
CFLAGS += -I$(HASHDIR) |
31 |
#CFLAGS += -DHASH_BLOOM=16 |
32 |
|
33 |
diff --git a/dev-libs/uthash/uthash-2.2.0.ebuild b/dev-libs/uthash/uthash-2.2.0.ebuild |
34 |
index 4204681a71c..d8c9c97693a 100644 |
35 |
--- a/dev-libs/uthash/uthash-2.2.0.ebuild |
36 |
+++ b/dev-libs/uthash/uthash-2.2.0.ebuild |
37 |
@@ -1,4 +1,4 @@ |
38 |
-# Copyright 1999-2019 Gentoo Authors |
39 |
+# Copyright 1999-2020 Gentoo Authors |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
|
42 |
EAPI=7 |
43 |
@@ -15,9 +15,11 @@ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
44 |
IUSE="test" |
45 |
RESTRICT="!test? ( test )" |
46 |
|
47 |
-DEPEND="test? ( dev-lang/perl )" |
48 |
+BDEPEND="test? ( dev-lang/perl )" |
49 |
|
50 |
-PATCHES=( "${FILESDIR}"/uthash-2.1.0-cflags.patch ) |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${PN}-2.1.0-cflags.patch |
53 |
+) |
54 |
|
55 |
src_test() { |
56 |
cd tests || die |