Closes: https://bugs.gentoo.org/673698
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews@gentoo.org>
"${FILESDIR}/${P}-gcc-7.patch"
)
+src_prepare() {
+ default
+
+ sed -i -e 's|-Werror||g' CMakeLists.txt || die
+ sed -i -e 's|-Werror||g' example/CMakeLists.txt || die
+}
+
src_configure() {
local mycmakeargs=(
-DRAPIDJSON_BUILD_DOC=$(usex doc)
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
)"
RDEPEND=""
+PATCHES=(
+ "${FILESDIR}/${P}-gcc-7.patch"
+)
+
+src_prepare() {
+ default
+
+ sed -i -e 's|-Werror||g' CMakeLists.txt || die
+ sed -i -e 's|-Werror||g' example/CMakeLists.txt || die
+}
+
src_configure() {
local mycmakeargs=(
-DRAPIDJSON_BUILD_DOC=$(usex doc)