kde-apps/kdepim-runtime: Add another upstream race condition fix
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 08:45:38 +0000 (10:45 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 08:47:09 +0000 (10:47 +0200)
It still may not be enough, but let's add it anyway.

Bug: https://bugs.gentoo.org/691938
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-apps/kdepim-runtime/files/kdepim-runtime-19.04.3-ui_lockfilepage-race-condition.patch [new file with mode: 0644]
kde-apps/kdepim-runtime/kdepim-runtime-19.04.3.ebuild

diff --git a/kde-apps/kdepim-runtime/files/kdepim-runtime-19.04.3-ui_lockfilepage-race-condition.patch b/kde-apps/kdepim-runtime/files/kdepim-runtime-19.04.3-ui_lockfilepage-race-condition.patch
new file mode 100644 (file)
index 0000000..850c658
--- /dev/null
@@ -0,0 +1,27 @@
+From 4585292dd34f894505f8fc19e2bf51263768d688 Mon Sep 17 00:00:00 2001
+From: Christophe Giboudeaux <christophe@krop.fr>
+Date: Fri, 9 Aug 2019 12:54:01 +0200
+Subject: Fix another race condition found while packaging the 19.08.0 release
+
+BUG: 410474
+FIXED-IN: 19.08.0
+
+CCMAIL: cfeck@kde.org
+---
+ resources/mbox/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/resources/mbox/CMakeLists.txt b/resources/mbox/CMakeLists.txt
+index c6fa693..c52230f 100644
+--- a/resources/mbox/CMakeLists.txt
++++ b/resources/mbox/CMakeLists.txt
+@@ -17,6 +17,7 @@ set( mboxresource_SRCS
+ # Fix a race condition. mboxresource.cpp needs compactpage.h which includes ui_compactpage.h.
+ # Make sure the ui file is generated before building the akonadi_mbox_resource target.
+ set_source_files_properties(mboxresource.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ui_compactpage.h)
++set_source_files_properties(mboxresource.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ui_lockfilepage.h)
+ ecm_qt_declare_logging_category(mboxresource_SRCS HEADER mboxresource_debug.h IDENTIFIER MBOXRESOURCE_LOG CATEGORY_NAME org.kde.pim.mboxresource)
+-- 
+cgit v1.1
index 5b9598cec0a8d1d1a2f4c15363ac1f1dbdab3029..a187fe09102ecae6789eda2a0d484e5257f00305 100644 (file)
@@ -74,6 +74,8 @@ RDEPEND="${COMMON_DEPEND}
        !kde-misc/akonadi-ews
 "
 
+PATCHES=( "${FILESDIR}/${P}-ui_lockfilepage-race-condition.patch" )
+
 RESTRICT+=" test"
 
 src_prepare() {