commit:     b80f675612649cf60fbd140e1c637cf533866ea5
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Oct 30 17:33:22 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 17:33:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80f6756

dev-libs/simdjson-0.6.0-r1: Get rid of -Werror (bug #751613)

Closes: https://bugs.gentoo.org/751613
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-libs/simdjson/simdjson-0.6.0-r1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild 
b/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild
index 259715be295..eb43ca1874b 100644
--- a/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild
+++ b/dev-libs/simdjson/simdjson-0.6.0-r1.ebuild
@@ -26,8 +26,15 @@ BDEPEND="
 
 RESTRICT="!test? ( test )"
 
-# applies cleanly from master, can be dropped on next release
-PATCHES=( "${WORKDIR}/${P}-ppc64.patch" )
+PATCHES=(
+       # applies cleanly from master, can be dropped on next release
+       "${WORKDIR}/${P}-ppc64.patch"
+)
+
+src_prepare() {
+       sed -e 's:-Werror ::' -i cmake/simdjson-flags.cmake || die
+       cmake_src_prepare
+}
 
 src_configure() {
        local mycmakeargs=(

Reply via email to