Skip to content

Commit

Permalink
media-libs/glm: remove -Werror
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/730948
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Jul 7, 2020
1 parent cf3b25e commit dc027e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions media-libs/glm/files/glm-0.9.9.8-clang.patch
Original file line number Diff line number Diff line change
@@ -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)

1 change: 1 addition & 0 deletions media-libs/glm/glm-0.9.9.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RDEPEND=""

PATCHES=(
"${FILESDIR}"/${PN}-0.9.9.6-simd.patch
"${FILESDIR}"/${P}-clang.patch
)

src_prepare() {
Expand Down

0 comments on commit dc027e6

Please sign in to comment.