diff options
-rw-r--r-- | kde-apps/ark/ark-18.04.0.ebuild | 2 | ||||
-rw-r--r-- | kde-apps/ark/files/ark-18.04.0-missing-memory-include.patch | 35 |
2 files changed, 37 insertions, 0 deletions
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 <fedeliallalinea@gmail.com> +Date: Fri, 20 Apr 2018 11:40:30 +0200 +Subject: [PATCH] libzipplugin: Add missing <memory> 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 <utime.h> + #include <zlib.h> ++#include <memory> + + K_PLUGIN_FACTORY_WITH_JSON(LibZipPluginFactory, "kerfuffle_libzip.json", registerPlugin<LibzipPlugin>();) + +-- +2.17.0 + |