From 094c5c8ee24178644098bf91267877c2f2e1cbcb Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 15 Apr 2018 23:34:05 +0200 Subject: Ark needed a patch to compile --- kde/patch/ark.patch | 3 +++ kde/patch/ark/ark_include_memory.patch | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 kde/patch/ark/ark_include_memory.patch diff --git a/kde/patch/ark.patch b/kde/patch/ark.patch index 5018ca4..35ac2d3 100644 --- a/kde/patch/ark.patch +++ b/kde/patch/ark.patch @@ -2,3 +2,6 @@ # KDEBUG #357057 is fixed in 15.12.1; still needs unrar. #cat $CWD/patch/ark/ark_kdebug357057.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } +# Fix a compilation issue in 18.04.0: +cat $CWD/patch/ark/ark_include_memory.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + diff --git a/kde/patch/ark/ark_include_memory.patch b/kde/patch/ark/ark_include_memory.patch new file mode 100644 index 0000000..235436e --- /dev/null +++ b/kde/patch/ark/ark_include_memory.patch @@ -0,0 +1,15 @@ +#To overcome compilation issues like: +# error: 'unique_ptr' is not a member of 'std' +# error: expected primary-expression before '[' token + +--- ark-18.04.0/plugins/libzipplugin/libzipplugin.cpp.orig 2018-04-09 22:42:03.000000000 +0200 ++++ ark-18.04.0/plugins/libzipplugin/libzipplugin.cpp 2018-04-15 12:41:56.490025275 +0200 +@@ -39,6 +39,8 @@ + #include + #include + ++#include ++ + #include + #include + -- cgit v1.2.3