public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtshadertools] epel9: Fix build with system glslang
Date: Thu, 08 Oct 2026 17:22:28 GMT [thread overview]
Message-ID: <179148014847.1.1160172539070977636.rpms-qt6-qtshadertools-427c2c4e4f65@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/qt6-qtshadertools
Branch : epel9
Commit : 427c2c4e4f657142b7d11af956b8f968f8125e6a
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2025-11-20T11:15:55+01:00
Stats : +10/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtshadertools/c/427c2c4e4f657142b7d11af956b8f968f8125e6a?branch=epel9
Log:
Fix build with system glslang
---
diff --git a/qtshadertools-unbundle-glslang.patch b/qtshadertools-unbundle-glslang.patch
index 38358a7..7b9c2eb 100644
--- a/qtshadertools-unbundle-glslang.patch
+++ b/qtshadertools-unbundle-glslang.patch
@@ -55,7 +55,7 @@ index 04371a5..4aa3838 100644
PUBLIC_LIBRARIES
Qt::Core
diff --git a/src/shadertools/qspirvcompiler.cpp b/src/shadertools/qspirvcompiler.cpp
-index 4e97d48..b6fefb8 100644
+index 574daca..b6fefb8 100644
--- a/src/shadertools/qspirvcompiler.cpp
+++ b/src/shadertools/qspirvcompiler.cpp
@@ -10,7 +10,7 @@ QT_WARNING_PUSH
@@ -76,6 +76,15 @@ index 4e97d48..b6fefb8 100644
class Includer : public glslang::TShader::Includer
{
public:
+@@ -145,7 +143,7 @@ bool QSpirvCompilerPrivate::compile()
+ messages |= EShMsgDebugInfo;
+
+ Includer includer;
+- if (!shader.parse(QtShaderTools::GetDefaultResources(), 100, false, EShMessages(messages), includer)) {
++ if (!shader.parse(GetDefaultResources(), 100, false, EShMessages(messages), includer)) {
+ qWarning("QSpirvCompiler: Failed to parse shader");
+ log = QString::fromUtf8(shader.getInfoLog()).trimmed();
+ return false;
diff --git a/src/shadertools/qspirvshaderremap.cpp b/src/shadertools/qspirvshaderremap.cpp
index e45161d..d8d4bfe 100644
--- a/src/shadertools/qspirvshaderremap.cpp
reply other threads:[~2026-10-08 17:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179148014847.1.1160172539070977636.rpms-qt6-qtshadertools-427c2c4e4f65@fedoraproject.org \
--to=jgrulich@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox