diff options
-rw-r--r-- | kde/patch/ark.patch | 3 | ||||
-rw-r--r-- | kde/patch/ark/ark_include_memory.patch | 15 |
2 files changed, 18 insertions, 0 deletions
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 <qplatformdefs.h> + #include <QThread> + ++#include <memory> ++ + #include <utime.h> + #include <zlib.h> + |