commit: ef31abb67f83d9c121d7a110d74b55500fc99e4e Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> AuthorDate: Mon Dec 7 18:10:57 2020 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Mon Dec 7 18:10:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef31abb6
dev-libs/cxxopts: Remove -Werror (bug #758725) Closes: https://bugs.gentoo.org/758725 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild index f6af1f7734f..a12d45e45eb 100644 --- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild +++ b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild @@ -21,6 +21,11 @@ DOCS=( CHANGELOG.md ) +src_prepare() { + sed -r -e 's:-Werror[[:space:]]*::' -i CMakeLists.txt || die + cmake_src_prepare +} + src_configure() { local -a mycmakeopts=( -DCXXOPTS_BUILD_EXAMPLES=OFF
