From b670e0269c34832d398378dfca371c7572ae680c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 20 Apr 2018 11:50:22 +0200 Subject: kde-apps/ark: Fix build (missing header) Thanks-to: Marco Genasci Closes: https://bugs.gentoo.org/653546 Package-Manager: Portage-2.3.31, Repoman-2.3.9 --- kde-apps/ark/ark-18.04.0.ebuild | 2 ++ .../files/ark-18.04.0-missing-memory-include.patch | 35 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 kde-apps/ark/files/ark-18.04.0-missing-memory-include.patch (limited to 'kde-apps') diff --git a/kde-apps/ark/ark-18.04.0.ebuild b/kde-apps/ark/ark-18.04.0.ebuild index eb5ba8737873..273b2b1ad902 100644 --- a/kde-apps/ark/ark-18.04.0.ebuild +++ b/kde-apps/ark/ark-18.04.0.ebuild @@ -47,6 +47,8 @@ DEPEND="${RDEPEND} # bug #560548, last checked with 16.04.1 RESTRICT+=" test" +PATCHES=( "${FILESDIR}/${P}-missing-memory-include.patch" ) + src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package bzip2 BZip2) diff --git a/kde-apps/ark/files/ark-18.04.0-missing-memory-include.patch b/kde-apps/ark/files/ark-18.04.0-missing-memory-include.patch new file mode 100644 index 000000000000..1935fc4ccaeb --- /dev/null +++ b/kde-apps/ark/files/ark-18.04.0-missing-memory-include.patch @@ -0,0 +1,35 @@ +From 23ce7f8c727d76d4532b8949c383c3f17b64a539 Mon Sep 17 00:00:00 2001 +From: Marco Genasci +Date: Fri, 20 Apr 2018 11:40:30 +0200 +Subject: [PATCH] libzipplugin: Add missing header + +Summary: +Build fails on some setups for use of std::unique_ptr. +See also: https://bugs.gentoo.org/653546 + +Reviewers: #ark + +Subscribers: kde-utils-devel + +Tags: #ark + +Differential Revision: https://phabricator.kde.org/D12374 +--- + plugins/libzipplugin/libzipplugin.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/plugins/libzipplugin/libzipplugin.cpp b/plugins/libzipplugin/libzipplugin.cpp +index 5641c97b..be260b39 100644 +--- a/plugins/libzipplugin/libzipplugin.cpp ++++ b/plugins/libzipplugin/libzipplugin.cpp +@@ -41,6 +41,7 @@ + + #include + #include ++#include + + K_PLUGIN_FACTORY_WITH_JSON(LibZipPluginFactory, "kerfuffle_libzip.json", registerPlugin();) + +-- +2.17.0 + -- cgit v1.2.3-65-gdbad