1 |
commit: f9577541a2ffa66f62ad5d734bc228d11825effc |
2 |
Author: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 4 02:58:34 2021 +0000 |
4 |
Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 4 02:58:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9577541 |
7 |
|
8 |
sys-apps/the_silver_searcher: append -fPIC, #797355 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/797355 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Sam Jorna <wraeth <AT> gentoo.org> |
13 |
|
14 |
...0201217.ebuild => the_silver_searcher-2.2.0_p20201217-r1.ebuild} | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild |
18 |
similarity index 87% |
19 |
rename from sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild |
20 |
rename to sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild |
21 |
index d91cc784c82..fc7e2d49571 100644 |
22 |
--- a/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild |
23 |
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild |
24 |
@@ -2,7 +2,7 @@ |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
-inherit autotools bash-completion-r1 vcs-snapshot |
29 |
+inherit autotools bash-completion-r1 flag-o-matic vcs-snapshot |
30 |
|
31 |
COMMIT="a61f1780b64266587e7bc30f0f5f71c6cca97c0f" |
32 |
|
33 |
@@ -40,6 +40,10 @@ src_prepare() { |
34 |
} |
35 |
|
36 |
src_configure() { |
37 |
+ # false positive TEXTRELs on riscv |
38 |
+ # https://bugs.gentoo.org/797355 |
39 |
+ append-flags -fPIC |
40 |
+ |
41 |
econf \ |
42 |
$(use_enable lzma) \ |
43 |
$(use_enable zlib) |