summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--download.lst3
-rw-r--r--external/poppler/UnpackedTarball_poppler.mk1
-rw-r--r--external/poppler/poppler-0.26.4-std-max.patch.110
-rw-r--r--external/poppler/poppler-notests.patch.110
-rw-r--r--external/poppler/poppler-snprintf.patch.13
-rw-r--r--external/poppler/poppler-vs2013.patch.17
6 files changed, 22 insertions, 12 deletions
diff --git a/download.lst b/download.lst
index af3a23c3f6f8..e395c056b768 100644
--- a/download.lst
+++ b/download.lst
@@ -119,7 +119,8 @@ export PAGEMAKER_TARBALL := libpagemaker-0.0.1.tar.bz2
export PIXMAN_TARBALL := c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
export PNG_MD5SUM := 5266905cef49d1224437465ad4d67fd9
export PNG_TARBALL := libpng-1.5.18.tar.gz
-export POPPLER_TARBALL := 1cd27460f7e3379d1eb109cfd7bcdb39-poppler-0.22.5.tar.gz
+export POPPLER_MD5SUM := 35c0660065d023365e9854c13e289d12
+export POPPLER_TARBALL := poppler-0.26.4.tar.gz
export POSTGRESQL_TARBALL := c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2
export PYTHON_MD5SUM := 803a75927f8f241ca78633890c798021
export PYTHON_TARBALL := Python-3.3.5.tgz
diff --git a/external/poppler/UnpackedTarball_poppler.mk b/external/poppler/UnpackedTarball_poppler.mk
index b69a817358e2..3f9c9f857357 100644
--- a/external/poppler/UnpackedTarball_poppler.mk
+++ b/external/poppler/UnpackedTarball_poppler.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,poppler,\
external/poppler/poppler-mac-fake.patch.1 \
external/poppler/poppler-nochecknew.patch.1 \
external/poppler/poppler-vs2013.patch.1 \
+ external/poppler/poppler-0.26.4-std-max.patch.1 \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/poppler/poppler-0.26.4-std-max.patch.1 b/external/poppler/poppler-0.26.4-std-max.patch.1
new file mode 100644
index 000000000000..0c5a2c8f1c2b
--- /dev/null
+++ b/external/poppler/poppler-0.26.4-std-max.patch.1
@@ -0,0 +1,10 @@
+--- a/poppler/Annot.cc
++++ b/poppler/Annot.cc
+@@ -71,6 +71,7 @@
+ #include "DateInfo.h"
+ #include "Link.h"
+ #include <string.h>
++#include <algorithm>
+
+ #if MULTITHREADED
+ # define annotLocker() MutexLocker locker(&mutex)
diff --git a/external/poppler/poppler-notests.patch.1 b/external/poppler/poppler-notests.patch.1
index 7fcfee95ab2b..a92ce57b052e 100644
--- a/external/poppler/poppler-notests.patch.1
+++ b/external/poppler/poppler-notests.patch.1
@@ -1,11 +1,11 @@
---- poppler-0.22.5/Makefile.in 2013-06-16 18:24:09.000000000 +0200
-+++ poppler-0.22.5/Makefile.in 2013-07-08 17:10:53.382213184 +0200
-@@ -456,7 +456,7 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -470,7 +470,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-testdatadir=$(TESTDATADIR)
@BUILD_POPPLER_CPP_TRUE@cpp_subdir = cpp
@BUILD_POPPLER_CPP_TRUE@cpp_pc_file = poppler-cpp.pc
@BUILD_UTILS_TRUE@utils_subdir = utils
--SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) test $(qt4_subdir) $(cpp_subdir)
-+SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) $(qt4_subdir) $(cpp_subdir)
+-SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) test $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
++SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
# Add CMake buildsystem files here so they get added on make dist
EXTRA_DIST = README-XPDF poppler.pc.in poppler-uninstalled.pc.in \
diff --git a/external/poppler/poppler-snprintf.patch.1 b/external/poppler/poppler-snprintf.patch.1
index 389a5b0fc97e..aaced8e099c2 100644
--- a/external/poppler/poppler-snprintf.patch.1
+++ b/external/poppler/poppler-snprintf.patch.1
@@ -46,5 +46,4 @@
+#endif
#include "PageLabelInfo.h"
-
-Only in poppler-0.22.5: poppler-snprintf.patch.1
+ #include "PageLabelInfo_p.h"
diff --git a/external/poppler/poppler-vs2013.patch.1 b/external/poppler/poppler-vs2013.patch.1
index 4b201f9fc3e7..ca892dfc2500 100644
--- a/external/poppler/poppler-vs2013.patch.1
+++ b/external/poppler/poppler-vs2013.patch.1
@@ -1,12 +1,11 @@
--*- Mode:Diff -*-
--- poppler/poppler/poppler-config.h.in
+++ poppler/poppler/poppler-config.h.in
-@@ -164,7 +164,7 @@
+@@ -186,7 +186,7 @@ char * strtok_r (char *s, const char *delim, char **save_ptr);
#define GCC_PRINTF_FORMAT(fmt_index, va_index)
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && _MSC_VER < 1800
- #define fmax(a, b) max(a, b)
- #define fmin(a, b) min(a, b)
+ #define fmax(a, b) std::max(a, b)
+ #define fmin(a, b) std::min(a, b)
#endif