summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2020-07-07 08:51:10 +0200
committerAlfredo Tupone <tupone@gentoo.org>2020-07-07 08:51:10 +0200
commitdc027e6f5fb7980a04d5ef54ddb38623fb1695fa (patch)
treed7dc6a70e504feeb78455aacc51dadbbe1214629 /media-libs/glm
parentsys-apps/dtc: avoid using environment for make options (diff)
downloadgentoo-dc027e6f5fb7980a04d5ef54ddb38623fb1695fa.tar.gz
gentoo-dc027e6f5fb7980a04d5ef54ddb38623fb1695fa.tar.bz2
gentoo-dc027e6f5fb7980a04d5ef54ddb38623fb1695fa.zip
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@gentoo.org>
Diffstat (limited to 'media-libs/glm')
-rw-r--r--media-libs/glm/files/glm-0.9.9.8-clang.patch11
-rw-r--r--media-libs/glm/glm-0.9.9.8.ebuild1
2 files changed, 12 insertions, 0 deletions
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 000000000000..af763d5b452a
--- /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 dcd6a2c59118..6fd8711eea6d 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() {