aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMarkus Rinne <markus.ka.rinne@gmail.com>2021-04-01 16:42:28 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-01 23:53:50 +0700
commit48c66015df726720afb145584a311a901599510f (patch)
treea0f52a0678e1776755d751a1c4881ed286bc61c9 /misc
parentdd0341f127cb09b7a98ef59f8ad6495af1f39cd4 (diff)
misc/ghostpcl: Updated for version 9.54.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/ghostpcl/compile_fix.patch11
-rw-r--r--misc/ghostpcl/ghostpcl.SlackBuild4
-rw-r--r--misc/ghostpcl/ghostpcl.info6
3 files changed, 17 insertions, 4 deletions
diff --git a/misc/ghostpcl/compile_fix.patch b/misc/ghostpcl/compile_fix.patch
new file mode 100644
index 0000000000000..8e1172408db3f
--- /dev/null
+++ b/misc/ghostpcl/compile_fix.patch
@@ -0,0 +1,11 @@
+diff -urN ghostpdl-9.54.0/tesseract/src/ccutil/strngs.h ghostpdl/tesseract/src/ccutil/strngs.h
+--- ghostpdl-9.54.0/tesseract/src/ccutil/strngs.h 2021-03-22 13:05:59.000000000 +0200
++++ ghostpdl/tesseract/src/ccutil/strngs.h 2021-04-01 17:22:19.653876318 +0300
+@@ -35,6 +35,7 @@
+ class STRING : public std::string {
+ public:
+ using std::string::string;
++ STRING() : std::string() {}
+ STRING(const std::string &s) : std::string(s) {}
+ STRING(const char *s) : std::string(s ? s : "") {}
+
diff --git a/misc/ghostpcl/ghostpcl.SlackBuild b/misc/ghostpcl/ghostpcl.SlackBuild
index 6aac0655933f8..26cf227cd78fd 100644
--- a/misc/ghostpcl/ghostpcl.SlackBuild
+++ b/misc/ghostpcl/ghostpcl.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=ghostpcl
SRCNAM=ghostpdl
-VERSION=${VERSION:-9.53.3}
+VERSION=${VERSION:-9.54.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,6 +70,8 @@ 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 {} \;
+patch -p1 < $CWD/compile_fix.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/misc/ghostpcl/ghostpcl.info b/misc/ghostpcl/ghostpcl.info
index e8700fd5b5726..d4d566c5b8443 100644
--- a/misc/ghostpcl/ghostpcl.info
+++ b/misc/ghostpcl/ghostpcl.info
@@ -1,8 +1,8 @@
PRGNAM="ghostpcl"
-VERSION="9.53.3"
+VERSION="9.54.0"
HOMEPAGE="https://www.ghostscript.com"
-DOWNLOAD="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/ghostpdl-9.53.3.tar.gz"
-MD5SUM="4813ae6bf64618452f21c70e5cd32f47"
+DOWNLOAD="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/ghostpdl-9.54.0.tar.gz"
+MD5SUM="25de435bce3ddb370a86ddf9b7f090da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""