From: Andreas Sturmlechner Date: Sun, 15 Sep 2019 15:23:51 +0000 (+0200) Subject: kde-plasma/plasma-nm: Fix missing headers with Frameworks 5.62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c458d1fc49610955d0ec4d82ecbbdf3fd79df418;p=gentoo.git kde-plasma/plasma-nm: Fix missing headers with Frameworks 5.62 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner --- diff --git a/kde-plasma/plasma-nm/files/plasma-nm-5.16.5-missing-headers.patch b/kde-plasma/plasma-nm/files/plasma-nm-5.16.5-missing-headers.patch new file mode 100644 index 000000000000..676087e89ac6 --- /dev/null +++ b/kde-plasma/plasma-nm/files/plasma-nm-5.16.5-missing-headers.patch @@ -0,0 +1,62 @@ +From a7eb3cb599fbb1d66c6980d53550822cbbfd1520 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Wed, 14 Aug 2019 11:25:49 +0200 +Subject: Add missing headers with DISABLE_MODEMMANAGER_SUPPORT=ON + +Reviewers: jgrulich + +Reviewed By: jgrulich + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D23148 +--- + libs/declarative/networkstatus.cpp | 2 ++ + libs/handler.cpp | 1 + + libs/handler.h | 1 + + 3 files changed, 4 insertions(+) + +diff --git a/libs/declarative/networkstatus.cpp b/libs/declarative/networkstatus.cpp +index b9db376..e94b7ea 100644 +--- a/libs/declarative/networkstatus.cpp ++++ b/libs/declarative/networkstatus.cpp +@@ -20,7 +20,9 @@ + + #include "networkstatus.h" + #include "uiutils.h" ++ + #include ++#include + + #include + #include +diff --git a/libs/handler.cpp b/libs/handler.cpp +index 40b4b43..0095aa7 100644 +--- a/libs/handler.cpp ++++ b/libs/handler.cpp +@@ -46,6 +46,7 @@ + #endif + + #include ++#include + #include + #include + +diff --git a/libs/handler.h b/libs/handler.h +index f8b7941..4c72699 100644 +--- a/libs/handler.h ++++ b/libs/handler.h +@@ -22,6 +22,7 @@ + #define PLASMA_NM_HANDLER_H + + #include ++#include + + #include + #include +-- +cgit v1.1 + + diff --git a/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild index 995f4b6b6b89..0a6f38e56d3c 100644 --- a/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild +++ b/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild @@ -53,6 +53,8 @@ RDEPEND="${DEPEND} $(add_plasma_dep kde-cli-tools) " +PATCHES=( "${FILESDIR}/${P}-missing-headers.patch" ) + src_configure() { local mycmakeargs=( -DDISABLE_MODEMMANAGER_SUPPORT=$(usex !modemmanager)