summaryrefslogtreecommitdiffstats
path: root/office/pstoedit
diff options
context:
space:
mode:
author Matteo Bernardini2022-07-17 07:49:54 +0200
committer Matteo Bernardini2022-07-17 07:49:54 +0200
commit3e1f874927cc58faa26a2e8d50e4eef5fe21ede6 (patch)
treebea436a8c18bd73da77e6e4099527af5aa8fb336 /office/pstoedit
parent89620bef3e6218eacfac11dd4b6a2c065d4e8143 (diff)
downloadslackbuilds-3e1f874927cc58faa26a2e8d50e4eef5fe21ede6.tar.gz
20220717.1 global branch merge.current-20220717.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/pstoedit')
-rw-r--r--office/pstoedit/pstoedit-3.78-mga-uniqueptr.patch12
-rw-r--r--office/pstoedit/pstoedit.SlackBuild3
2 files changed, 15 insertions, 0 deletions
diff --git a/office/pstoedit/pstoedit-3.78-mga-uniqueptr.patch b/office/pstoedit/pstoedit-3.78-mga-uniqueptr.patch
new file mode 100644
index 0000000000..bca0f760dc
--- /dev/null
+++ b/office/pstoedit/pstoedit-3.78-mga-uniqueptr.patch
@@ -0,0 +1,12 @@
+Index: pstoedit-3.78/src/drvpptx.cpp
+===================================================================
+--- pstoedit-3.78/src/drvpptx.cpp
++++ pstoedit-3.78/src/drvpptx.cpp 2022-03-14 21:23:51.156263356 -0700
+@@ -35,6 +35,7 @@
+ #include I_stdlib
+ #include I_iomanip
+ #include <cfloat>
++#include <memory>
+ #include <time.h>
+
+ #include <errno.h>
diff --git a/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild
index fdc3fef7d8..406c7462f9 100644
--- a/office/pstoedit/pstoedit.SlackBuild
+++ b/office/pstoedit/pstoedit.SlackBuild
@@ -79,6 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://sourceforge.net/p/pstoedit/patches/4/ Thanks to lioh!
+patch -p1 < $CWD/pstoedit-3.78-mga-uniqueptr.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \