[neon/libraries/kquickimageeditor/Neon/stable_noble] debian/patches: work around gcc13 preprocessor issues
Carlos De Maine
null at kde.org
Tue Sep 1 10:19:03 BST 2026
Git commit 6b64eb08041b64330ca6dcf8dba7d0c1240d1e79 by Carlos De Maine.
Committed on 01/09/2026 at 09:18.
Pushed by carlosdem into branch 'Neon/stable_noble'.
work around gcc13 preprocessor issues
A +18 -0 debian/patches/gcc13.diff
A +1 -0 debian/patches/series
https://invent.kde.org/neon/libraries/kquickimageeditor/-/commit/6b64eb08041b64330ca6dcf8dba7d0c1240d1e79
diff --git a/debian/patches/gcc13.diff b/debian/patches/gcc13.diff
new file mode 100644
index 0000000..377a21c
--- /dev/null
+++ b/debian/patches/gcc13.diff
@@ -0,0 +1,18 @@
+diff --git a/src/annotations/coloradjustment.cpp b/src/annotations/coloradjustment.cpp
+index 70b8d3f..b1ae09d 100644
+--- a/src/annotations/coloradjustment.cpp
++++ b/src/annotations/coloradjustment.cpp
+@@ -109,8 +109,13 @@ enum MatrixFlag : MatrixFlag_ut {
+ Q_DECLARE_FLAGS(MatrixFlags, MatrixFlag)
+ Q_DECLARE_OPERATORS_FOR_FLAGS(MatrixFlags)
+
++#if defined(__GNUC__) && __GNUC__ == 13
++template<MatrixFlag_ut MF>
++concept IsIdentity = ((MF & MF_General) == 0);
++#else
+ template<MatrixFlag_ut MF>
+ concept IsIdentity = !MatrixFlags{MF}.testAnyFlags(MF_General);
++#endif
+
+ template<typename T>
+ struct VecXW {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3b92db2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gcc13.diff
More information about the Neon-commits
mailing list