repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

"Alfredo Tupone" <[email protected]> Tue, 04 Aug 2026 18:42:39 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785868943.fdad6e66985e217c6b515a4b44b757bbfee9091b.tupone@gentoo>
commit:     fdad6e66985e217c6b515a4b44b757bbfee9091b
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  4 18:42:06 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Aug  4 18:42:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdad6e66

media-libs/glm: drop Werror

Closes: https://bugs.gentoo.org/980345
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 media-libs/glm/files/glm-1.0.3-Werror.patch | 19 +++++++++++++++++++
 media-libs/glm/glm-1.0.3.ebuild             |  1 +
 2 files changed, 20 insertions(+)

diff --git a/media-libs/glm/files/glm-1.0.3-Werror.patch b/media-libs/glm/files/glm-1.0.3-Werror.patch
new file mode 100644
index 000000000000..24d2d4b84340
--- /dev/null
+++ b/media-libs/glm/files/glm-1.0.3-Werror.patch
@@ -0,0 +1,19 @@
+--- a/test/CMakeLists.txt	2026-08-04 20:29:32.869810039 +0200
++++ b/test/CMakeLists.txt	2026-08-04 20:32:56.481716625 +0200
+@@ -23,7 +23,7 @@
+ 
+ 	add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+ 	if(NOT GLM_DISABLE_AUTO_DETECTION)
+-		add_compile_options(-Werror -Weverything)
++		add_compile_options(-Weverything)
+ 	endif()
+ 
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
+@@ -32,7 +32,6 @@
+ 	endif()
+ 
+ 	if(NOT GLM_DISABLE_AUTO_DETECTION)
+-		add_compile_options(-Werror)
+ #		add_compile_options(-Wpedantic)
+ #		add_compile_options(-Wall)
+ #		add_compile_options(-Wextra)

diff --git a/media-libs/glm/glm-1.0.3.ebuild b/media-libs/glm/glm-1.0.3.ebuild
index 11c8f7cfa056..69293f01b7e4 100644
--- a/media-libs/glm/glm-1.0.3.ebuild
+++ b/media-libs/glm/glm-1.0.3.ebuild
@@ -20,6 +20,7 @@ RESTRICT="!test? ( test )"
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
 	"${FILESDIR}"/${PN}-1.0.2-cmake.patch
+	"${FILESDIR}"/${P}-Werror.patch
 )
 
 DOCS=( manual.md readme.md )