diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
commit | 2891d29af8907ce881662f4a02844926d7a293c7 (patch) | |
tree | 56979d96839d0827aa52008b81b746b4934d88df /dev-libs/rapidjson/rapidjson-9999.ebuild | |
parent | de49812990871e1705b64051c35161d5e6400269 (diff) |
gentoo resync : 31.12.2018
Diffstat (limited to 'dev-libs/rapidjson/rapidjson-9999.ebuild')
-rw-r--r-- | dev-libs/rapidjson/rapidjson-9999.ebuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/dev-libs/rapidjson/rapidjson-9999.ebuild b/dev-libs/rapidjson/rapidjson-9999.ebuild index 6d3ed3621f87..fe37df29542d 100644 --- a/dev-libs/rapidjson/rapidjson-9999.ebuild +++ b/dev-libs/rapidjson/rapidjson-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,6 +30,17 @@ DEPEND=" )" RDEPEND="" +PATCHES=( + "${FILESDIR}/${P}-gcc-7.patch" +) + +src_prepare() { + cmake-utils_src_prepare + + 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) |