summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0000000000..8e1172408d
--- /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 6aac065593..26cf227cd7 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 e8700fd5b5..d4d566c5b8 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=""