repo/proj/guru:dev commit in: media-gfx/KTX-Software/

"Patrick Nicolas" <[email protected]> Tue, 04 Aug 2026 06:21:26 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785824379.a2812ee1b2d34a89d89346e4c2454963f5c99fa2.patricknicolas@gentoo>
commit:     a2812ee1b2d34a89d89346e4c2454963f5c99fa2
Author:     Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
AuthorDate: Tue Aug  4 06:19:39 2026 +0000
Commit:     Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
CommitDate: Tue Aug  4 06:19:39 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2812ee1

media-gfx/KTX-Software: fix build with gcc 16

Closes: https://bugs.gentoo.org/975268
Signed-off-by: Patrick Nicolas <patricknicolas <AT> laposte.net>

 media-gfx/KTX-Software/KTX-Software-4.3.2.ebuild | 1 +
 media-gfx/KTX-Software/KTX-Software-4.4.2.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-gfx/KTX-Software/KTX-Software-4.3.2.ebuild b/media-gfx/KTX-Software/KTX-Software-4.3.2.ebuild
index b687516281..e1155a14af 100644
--- a/media-gfx/KTX-Software/KTX-Software-4.3.2.ebuild
+++ b/media-gfx/KTX-Software/KTX-Software-4.3.2.ebuild
@@ -38,6 +38,7 @@ src_configure() {
 		-DKTX_VERSION=${PV}
 		-DKTX_FEATURE_TESTS=OFF
 		-DBUILD_SHARED_LIBS=OFF # https://github.com/KhronosGroup/KTX-Software/issues/935
+		-DCMAKE_CXX_STANDARD=14 # https://github.com/KhronosGroup/KTX-Software/issues/1172
 	)
 
 	cmake_src_configure

diff --git a/media-gfx/KTX-Software/KTX-Software-4.4.2.ebuild b/media-gfx/KTX-Software/KTX-Software-4.4.2.ebuild
index 27624c9852..d7504beec7 100644
--- a/media-gfx/KTX-Software/KTX-Software-4.4.2.ebuild
+++ b/media-gfx/KTX-Software/KTX-Software-4.4.2.ebuild
@@ -30,6 +30,7 @@ src_configure() {
 	local mycmakeargs=(
 		-DKTX_VERSION=${PV}
 		-DKTX_FEATURE_TESTS=OFF
+		-DCMAKE_CXX_STANDARD=14 # https://github.com/KhronosGroup/KTX-Software/issues/1172
 	)
 
 	cmake_src_configure