summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-10-30 10:33:22 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-10-30 10:33:40 -0700
commitb80f675612649cf60fbd140e1c637cf533866ea5 (patch)
tree9db87f6a2405aec57b16b9b97e29661660955603 /dev-libs/simdjson
parentnet-dns/bind: fix tmpfiles phase handeling (diff)
downloadgentoo-b80f675612649cf60fbd140e1c637cf533866ea5.tar.gz
gentoo-b80f675612649cf60fbd140e1c637cf533866ea5.tar.bz2
gentoo-b80f675612649cf60fbd140e1c637cf533866ea5.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/simdjson')
-rw-r--r--dev-libs/simdjson/simdjson-0.6.0-r1.ebuild11
1 files 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 259715be2950..eb43ca1874b1 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=(