diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-08-04 12:54:25 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-08-04 13:03:08 -0400 |
commit | 9b07a9098003ac55adc8a611b9aa40a880a48854 (patch) | |
tree | 14459a944639bec90e3cc7af24e5fe460d69d597 /dev-qt | |
parent | dev-util/rebar: Stabilize 3.23.0 ALLARCHES, #937281 (diff) | |
download | gentoo-9b07a9098003ac55adc8a611b9aa40a880a48854.tar.gz gentoo-9b07a9098003ac55adc8a611b9aa40a880a48854.tar.bz2 gentoo-9b07a9098003ac55adc8a611b9aa40a880a48854.zip |
dev-qt/qtshadertools: fix build with gcc15
Closes: https://bugs.gentoo.org/937261
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
5 files changed, 24 insertions, 0 deletions
diff --git a/dev-qt/qtshadertools/files/qtshadertools-6.7.2-gcc15.patch b/dev-qt/qtshadertools/files/qtshadertools-6.7.2-gcc15.patch new file mode 100644 index 000000000000..ceab10f4c1f6 --- /dev/null +++ b/dev-qt/qtshadertools/files/qtshadertools-6.7.2-gcc15.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/937261 +https://github.com/KhronosGroup/glslang/pull/3684 +--- a/src/3rdparty/glslang/SPIRV/SpvBuilder.h ++++ b/src/3rdparty/glslang/SPIRV/SpvBuilder.h +@@ -58,2 +58,3 @@ + #include <algorithm> ++#include <cstdint> + #include <map> diff --git a/dev-qt/qtshadertools/qtshadertools-6.7.2.ebuild b/dev-qt/qtshadertools/qtshadertools-6.7.2.ebuild index e3cbab00e5f0..f136b15894c7 100644 --- a/dev-qt/qtshadertools/qtshadertools-6.7.2.ebuild +++ b/dev-qt/qtshadertools/qtshadertools-6.7.2.ebuild @@ -15,3 +15,7 @@ RDEPEND=" ~dev-qt/qtbase-${PV}:6[gui] " DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-6.7.2-gcc15.patch +) diff --git a/dev-qt/qtshadertools/qtshadertools-6.7.9999.ebuild b/dev-qt/qtshadertools/qtshadertools-6.7.9999.ebuild index 68dae044e31f..15f54c185b88 100644 --- a/dev-qt/qtshadertools/qtshadertools-6.7.9999.ebuild +++ b/dev-qt/qtshadertools/qtshadertools-6.7.9999.ebuild @@ -15,3 +15,7 @@ RDEPEND=" ~dev-qt/qtbase-${PV}:6[gui] " DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-6.7.2-gcc15.patch +) diff --git a/dev-qt/qtshadertools/qtshadertools-6.8.9999.ebuild b/dev-qt/qtshadertools/qtshadertools-6.8.9999.ebuild index 68dae044e31f..15f54c185b88 100644 --- a/dev-qt/qtshadertools/qtshadertools-6.8.9999.ebuild +++ b/dev-qt/qtshadertools/qtshadertools-6.8.9999.ebuild @@ -15,3 +15,7 @@ RDEPEND=" ~dev-qt/qtbase-${PV}:6[gui] " DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-6.7.2-gcc15.patch +) diff --git a/dev-qt/qtshadertools/qtshadertools-6.9999.ebuild b/dev-qt/qtshadertools/qtshadertools-6.9999.ebuild index 68dae044e31f..15f54c185b88 100644 --- a/dev-qt/qtshadertools/qtshadertools-6.9999.ebuild +++ b/dev-qt/qtshadertools/qtshadertools-6.9999.ebuild @@ -15,3 +15,7 @@ RDEPEND=" ~dev-qt/qtbase-${PV}:6[gui] " DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-6.7.2-gcc15.patch +) |