diff options
Diffstat (limited to 'kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-6.15.0-disable-qmlplugindump.patch')
| -rw-r--r-- | kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-6.15.0-disable-qmlplugindump.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-6.15.0-disable-qmlplugindump.patch b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-6.15.0-disable-qmlplugindump.patch deleted file mode 100644 index 5e5716fc4bf..00000000000 --- a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-6.15.0-disable-qmlplugindump.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 67ec9d9f6a8b97bee36ad4272354dec07be05d12 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sun, 8 Dec 2019 15:01:33 +0100 -Subject: [PATCH] ECMFindQMLModule.cmake.in: Add ECM_DISABLE_QMLPLUGINDUMP to - avoid sandbox violations - -See also: https://phabricator.kde.org/D25812 - -Backstory: https://bugzilla.gnome.org/show_bug.cgi?id=744135 -BUG: 387753 ---- a/modules/ECMFindQmlModule.cmake.in -+++ b/modules/ECMFindQmlModule.cmake.in -@@ -9,6 +9,17 @@ include(FindPackageHandleStandardArgs) - include("${ECM_MODULE_DIR}/QtVersionOption.cmake") - include("${ECM_MODULE_DIR}/ECMQueryQt.cmake") - -+option (ECM_DISABLE_QMLPLUGINDUMP "Do not use qmlplugindump which may segfault in some sandboxed environments" OFF) -+ -+if(ECM_DISABLE_QMLPLUGINDUMP) -+ message(NOTICE "@GENMODULE@: qmlplugindump disabled - assuming dependency is available as >= @VERSION@.") -+ set(@GENMODULE@_FOUND TRUE) -+ set(@GENMODULE@_VERSION @VERSION@) -+ if (QT_MAJOR_VERSION EQUAL "6") -+ # implicit include -+ include(${ECM_MODULE_DIR}/ECMQmlModule.cmake) -+ endif() -+else() - if (QT_MAJOR_VERSION EQUAL "6") - include(${ECM_MODULE_DIR}/ECMQmlModule.cmake) - # Get the qmldir file -@@ -68,6 +79,7 @@ if (NOT CMAKE_CROSSCOMPILING AND NOT MODULE_NOTFOUND AND NOT @GENMODULE@_FOUND A - set(@GENMODULE@_FOUND FALSE) - endif() - endif() -+endif() - - set(@GENMODULE@_FOUND ${@GENMODULE@_FOUND} PARENT_SCOPE) - set(@GENMODULE@_VERSION ${@GENMODULE@_VERSION} PARENT_SCOPE) --- -2.49.0 - |
