From a2812ee1b2d34a89d89346e4c2454963f5c99fa2 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 4 Aug 2026 08:19:39 +0200 Subject: [PATCH] media-gfx/KTX-Software: fix build with gcc 16 Closes: https://bugs.gentoo.org/975268 Signed-off-by: Patrick Nicolas --- 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