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 0000000000000..af763d5b452a8 --- /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 dcd6a2c591184..6fd8711eea6d8 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() {