summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-04-15 23:34:05 +0200
committer Eric Hameleers <alien@slackware.com>2018-04-15 23:34:05 +0200
commit094c5c8ee24178644098bf91267877c2f2e1cbcb (patch)
tree7c1b056977e6604d4ca0133e9bc0c7a6b58331ca
parent111f7bfa8b46fa89f69d0f6e9fc4756ad29f0f3a (diff)
downloadktown-094c5c8ee24178644098bf91267877c2f2e1cbcb.tar.gz
ktown-094c5c8ee24178644098bf91267877c2f2e1cbcb.tar.xz
Ark needed a patch to compile
-rw-r--r--kde/patch/ark.patch3
-rw-r--r--kde/patch/ark/ark_include_memory.patch15
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>
+