You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

76 lines
2.4 KiB

Index: poppler-glib.pc.cmake
--- poppler-glib.pc.cmake.orig 2018-10-21 18:47:56.000000000 +0200
+++ poppler-glib.pc.cmake 2018-10-22 08:56:11.873826000 +0200
@@ -8,5 +8,5 @@
Requires: glib-2.0 >= @GLIB_REQUIRED@ gobject-2.0 >= @GLIB_REQUIRED@ cairo >= @CAIRO_VERSION@
@PC_REQUIRES_PRIVATE@
-Libs: -L${libdir} -lpoppler-glib
+Libs: -L${libdir} -lpoppler-glib -lstdc++
Cflags: -I${includedir}/poppler/glib
Index: poppler.pc.cmake
--- poppler.pc.cmake.orig 2018-10-21 18:47:56.000000000 +0200
+++ poppler.pc.cmake 2018-10-22 08:56:11.873949000 +0200
@@ -6,5 +6,5 @@
Description: PDF rendering library
Version: @POPPLER_VERSION@
-Libs: -L${libdir} -lpoppler
+Libs: -L${libdir} -lpoppler -lstdc++
Cflags: -I${includedir}/poppler
Index: poppler/GlobalParams.cc
--- poppler/GlobalParams.cc.orig 2018-10-22 08:56:11.874303000 +0200
+++ poppler/GlobalParams.cc 2018-10-22 19:38:19.166510000 +0200
@@ -1042,11 +1042,7 @@
};
static const char *displayFontDirs[] = {
- "/usr/share/ghostscript/fonts",
- "/usr/local/share/ghostscript/fonts",
- "/usr/share/fonts/default/Type1",
- "/usr/share/fonts/default/ghostscript",
- "/usr/share/fonts/type1/gsfonts",
+ "@l_prefix@/share/ghostscript/fonts",
nullptr
};
Index: poppler/JPEG2000Stream.cc
--- poppler/JPEG2000Stream.cc.orig 2018-10-21 18:47:56.000000000 +0200
+++ poppler/JPEG2000Stream.cc 2018-10-22 08:56:11.874601000 +0200
@@ -17,7 +17,7 @@
#include "config.h"
#include "JPEG2000Stream.h"
-#include <openjpeg.h>
+#include "openjpeg.h"
#define OPENJPEG_VERSION_ENCODE(major, minor, micro) ( \
((major) * 10000) \
Index: poppler/Lexer.cc
--- poppler/Lexer.cc.orig 2018-10-21 18:47:56.000000000 +0200
+++ poppler/Lexer.cc 2018-10-22 08:56:11.874763000 +0200
@@ -35,6 +35,10 @@
#include "Error.h"
#include "XRef.h"
+#ifndef LLONG_MAX
+#define LLONG_MAX LONG_MAX*2
+#endif
+
//------------------------------------------------------------------------
// A '1' in this array means the character is white space. A '1' or
Index: poppler/PDFDoc.cc
--- poppler/PDFDoc.cc.orig 2018-10-21 18:47:56.000000000 +0200
+++ poppler/PDFDoc.cc 2018-10-22 08:56:11.875126000 +0200
@@ -99,6 +99,10 @@
#define xrefSearchSize 1024 // read this many bytes at end of file
// to look for 'startxref'
+#ifndef LLONG_MAX
+#define LLONG_MAX LONG_MAX*2
+#endif
+
//------------------------------------------------------------------------
// PDFDoc
//------------------------------------------------------------------------