commit: dc027e6f5fb7980a04d5ef54ddb38623fb1695fa Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Tue Jul 7 06:51:10 2020 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Tue Jul 7 06:51:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc027e6f
media-libs/glm: remove -Werror Closes: https://bugs.gentoo.org/730948 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> media-libs/glm/files/glm-0.9.9.8-clang.patch | 11 +++++++++++ media-libs/glm/glm-0.9.9.8.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/media-libs/glm/files/glm-0.9.9.8-clang.patch b/media-libs/glm/files/glm-0.9.9.8-clang.patch new file mode 100644 index 00000000000..af763d5b452 --- /dev/null +++ b/media-libs/glm/files/glm-0.9.9.8-clang.patch @@ -0,0 +1,11 @@ +--- a/test/CMakeLists.txt 2020-07-07 08:44:31.304955458 +0200 ++++ b/test/CMakeLists.txt 2020-07-07 08:44:38.962844309 +0200 +@@ -197,7 +197,7 @@ + message("GLM: Clang - ${CMAKE_CXX_COMPILER_ID} compiler") + endif() + +- add_compile_options(-Werror -Weverything) ++ add_compile_options(-Weverything) + add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct -Wno-nested-anon-types) + add_compile_options(-Wno-undefined-reinterpret-cast -Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral) + diff --git a/media-libs/glm/glm-0.9.9.8.ebuild b/media-libs/glm/glm-0.9.9.8.ebuild index dcd6a2c5911..6fd8711eea6 100644 --- a/media-libs/glm/glm-0.9.9.8.ebuild +++ b/media-libs/glm/glm-0.9.9.8.ebuild @@ -19,6 +19,7 @@ RDEPEND="" PATCHES=( "${FILESDIR}"/${PN}-0.9.9.6-simd.patch + "${FILESDIR}"/${P}-clang.patch ) src_prepare() {