summaryrefslogtreecommitdiffstats
path: root/misc/ghostpcl/compile_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ghostpcl/compile_fix.patch')
-rw-r--r--misc/ghostpcl/compile_fix.patch11
1 files changed, 11 insertions, 0 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 : "") {}
+