From 52b1f1cb9f8d4e1fb1fcbde59930a105a819b0b4 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 30 Jul 2020 19:45:19 +0200 Subject: Cleanup unused KDE patches Thanks to Patrick Volkerding for the effort. --- kde/patch/kwin/kwin_cmake310.patch | 52 -------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 kde/patch/kwin/kwin_cmake310.patch (limited to 'kde/patch/kwin/kwin_cmake310.patch') diff --git a/kde/patch/kwin/kwin_cmake310.patch b/kde/patch/kwin/kwin_cmake310.patch deleted file mode 100644 index 5675ba5..0000000 --- a/kde/patch/kwin/kwin_cmake310.patch +++ /dev/null @@ -1,52 +0,0 @@ -Taken from: -https://gitweb.gentoo.org/repo/gentoo.git/tree/kde-plasma/kwin/files/kwin-5.11.5-cmake-3.10.patch - -From cd544890ced4192d07467c89e23adbb62d8cea5c Mon Sep 17 00:00:00 2001 -From: Milian Wolff -Date: Mon, 18 Dec 2017 11:40:35 +0100 -Subject: Fix build with CMake 3.10 - -Looks like a classic false-positive, but this makes the compile -pass for me without making the code harder to read: - -AutoMoc error -------------- - "/ssd/milian/projects/kf5/src/kde/workspace/kwin/kcmkwin/kwinscripts/main.cpp" -The file contains a K_PLUGIN_FACTORY macro, but does not include "main.moc"! -Consider to - - add #include "main.moc" - - enable SKIP_AUTOMOC for this file - -So we just add the include and then get rid of the duplicate -definition of the plugin factory and the problem is resolved. ---- - kcmkwin/kwinscripts/main.cpp | 2 ++ - kcmkwin/kwinscripts/module.cpp | 2 -- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/kcmkwin/kwinscripts/main.cpp b/kcmkwin/kwinscripts/main.cpp -index f5ee04b..baa5175 100644 ---- a/kcmkwin/kwinscripts/main.cpp -+++ b/kcmkwin/kwinscripts/main.cpp -@@ -22,3 +22,5 @@ - - K_PLUGIN_FACTORY(KcmKWinScriptsFactory, - registerPlugin("kwin-scripts");) -+ -+#include "main.moc" -diff --git a/kcmkwin/kwinscripts/module.cpp b/kcmkwin/kwinscripts/module.cpp -index a0d698e..ccf7d41 100644 ---- a/kcmkwin/kwinscripts/module.cpp -+++ b/kcmkwin/kwinscripts/module.cpp -@@ -40,8 +40,6 @@ - - #include "version.h" - --K_PLUGIN_FACTORY_DECLARATION(KcmKWinScriptsFactory) -- - Module::Module(QWidget *parent, const QVariantList &args) : - KCModule(parent, args), - ui(new Ui::Module), --- -cgit v0.11.2 - -- cgit v1.2.3