commit: 9ddde11f7b9b63ddebe1f5608077dcfe53e0d735 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Apr 13 23:27:18 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Apr 13 23:27:18 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9ddde11f
kde-apps/ksystemlog: Fix build with Qt 5.11_beta3 Package-Manager: Portage-2.3.28, Repoman-2.3.9 .../files/ksystemlog-18.04.0-qt-5.11.patch | 32 ++++++++++++++++++++++ kde-apps/ksystemlog/ksystemlog-18.04.0.ebuild | 2 ++ 2 files changed, 34 insertions(+) diff --git a/kde-apps/ksystemlog/files/ksystemlog-18.04.0-qt-5.11.patch b/kde-apps/ksystemlog/files/ksystemlog-18.04.0-qt-5.11.patch new file mode 100644 index 0000000000..efed562efe --- /dev/null +++ b/kde-apps/ksystemlog/files/ksystemlog-18.04.0-qt-5.11.patch @@ -0,0 +1,32 @@ +From 3ab2bd7564bcb9518892704e47634053875fac14 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <ast...@gentoo.org> +Date: Sat, 14 Apr 2018 01:18:05 +0200 +Subject: [PATCH] Fix build with Qt 5.11_beta3 (dropping qt5_use_modules) + +--- + src/lib/CMakeLists.txt | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt +index 5cabcba..30b97f0 100644 +--- a/src/lib/CMakeLists.txt ++++ b/src/lib/CMakeLists.txt +@@ -49,7 +49,8 @@ add_dependencies( + + target_link_libraries(ksystemlog_lib + ksystemlog_config +- ++ Qt5::Widgets ++ Qt5::PrintSupport + KF5::I18n + KF5::Archive + KF5::ConfigWidgets +@@ -58,5 +59,3 @@ target_link_libraries(ksystemlog_lib + KF5::KIOCore + KF5::Completion + ) +- +-qt5_use_modules(ksystemlog_lib Widgets PrintSupport) +-- +2.17.0 + diff --git a/kde-apps/ksystemlog/ksystemlog-18.04.0.ebuild b/kde-apps/ksystemlog/ksystemlog-18.04.0.ebuild index 613a2eccdf..0c60ccb040 100644 --- a/kde-apps/ksystemlog/ksystemlog-18.04.0.ebuild +++ b/kde-apps/ksystemlog/ksystemlog-18.04.0.ebuild @@ -37,6 +37,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) + src_prepare() { kde5_src_prepare