[neon/neon-packaging/kjournald/Neon/stable] debian/patches: fix_rcc_segfault.diff

Carlos De Maine null at kde.org
Thu Aug 14 12:45:44 BST 2025


Git commit 389e21b1208930837e2d278f166db13aed6aae58 by Carlos De Maine.
Committed on 14/08/2025 at 11:45.
Pushed by carlosdem into branch 'Neon/stable'.

fix_rcc_segfault.diff

A  +22   -0    debian/patches/fix_rcc_segfault.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/neon-packaging/kjournald/-/commit/389e21b1208930837e2d278f166db13aed6aae58

diff --git a/debian/patches/fix_rcc_segfault.diff b/debian/patches/fix_rcc_segfault.diff
new file mode 100644
index 0000000..9809e42
--- /dev/null
+++ b/debian/patches/fix_rcc_segfault.diff
@@ -0,0 +1,22 @@
+diff --git a/org/kde/kjournaldbrowser/CMakeLists.txt b/org/kde/kjournaldbrowser/CMakeLists.txt
+index c48ac50..d6952bb 100644
+--- a/org/kde/kjournaldbrowser/CMakeLists.txt
++++ b/org/kde/kjournaldbrowser/CMakeLists.txt
+@@ -1,5 +1,9 @@
+ # SPDX-License-Identifier: BSD-3-Clause
+ # SPDX-FileCopyrightText: Andreas Cord-Landwehr <cordlandwehr at kde.org>
++# Work around qmlcachegen crashing during the build
++if (Qt6_VERSION VERSION_LESS "6.9.2")
++    set(QML_ARGS NO_CACHEGEN)
++endif()
+ 
+ add_library(kjournaldbrowser_backing STATIC)
+ 
+@@ -34,6 +38,7 @@ qt6_add_qml_module(
+         LogView.qml
+         FilterCriteriaView.qml
+         ColoredCheckbox.qml
++    QML_ARGS ${QML_ARGS}
+ )
+ 
+ target_link_libraries(kjournaldbrowser_backing
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7053d76
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_rcc_segfault.diff


More information about the Neon-commits mailing list