commit:     f9577541a2ffa66f62ad5d734bc228d11825effc
Author:     Sam Jorna <wraeth <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  4 02:58:34 2021 +0000
Commit:     Sam Jorna <wraeth <AT> gentoo <DOT> org>
CommitDate: Sun Jul  4 02:58:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9577541

sys-apps/the_silver_searcher: append -fPIC, #797355

Closes: https://bugs.gentoo.org/797355
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam Jorna <wraeth <AT> gentoo.org>

 ...0201217.ebuild => the_silver_searcher-2.2.0_p20201217-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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
similarity index 87%
rename from 
sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild
rename to 
sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild
index d91cc784c82..fc7e2d49571 100644
--- 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
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools bash-completion-r1 vcs-snapshot
+inherit autotools bash-completion-r1 flag-o-matic vcs-snapshot
 
 COMMIT="a61f1780b64266587e7bc30f0f5f71c6cca97c0f"
 
@@ -40,6 +40,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # false positive TEXTRELs on riscv
+       # https://bugs.gentoo.org/797355
+       append-flags -fPIC
+
        econf \
                $(use_enable lzma) \
                $(use_enable zlib)

Reply via email to