Kaydet (Commit) 686ea7ad authored tarafından Thomas Arnhold's avatar Thomas Arnhold

upgrade to poppler-0.26.4

Change-Id: Ia5c85b8e697491aafc9de4838504226f11480b44
Reviewed-on: https://gerrit.libreoffice.org/11081Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst e96d2593
......@@ -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
......
......@@ -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:
--- 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)
--- 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 \
......@@ -46,5 +46,4 @@
+#endif
#include "PageLabelInfo.h"
Only in poppler-0.22.5: poppler-snprintf.patch.1
#include "PageLabelInfo_p.h"
-*- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment