sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (6886d9255d458aec4b235f4b90ed12dd5e501309)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (6886d9255d458aec4b235f4b90ed12dd5e501309)
- Date: Fri, 15 Dec 2017 03:44:54 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
doc/mupdf/HISTORY | 3 +++
doc/mupdf/PRE_BUILD | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
New commits:
commit 6886d9255d458aec4b235f4b90ed12dd5e501309
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
doc/mupdf: added fixes for missing headers & z_const alias
diff --git a/doc/mupdf/HISTORY b/doc/mupdf/HISTORY
index ea40d8f..4e2704e 100644
--- a/doc/mupdf/HISTORY
+++ b/doc/mupdf/HISTORY
@@ -1,3 +1,6 @@
+2017-12-14 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD: added fixes for missing headers & z_const alias
+
2017-12-13 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.12.0
* mupdf-1.11-shared_libs-1.patch: removed the obsolete patch
diff --git a/doc/mupdf/PRE_BUILD b/doc/mupdf/PRE_BUILD
index bae3caa..333aeb9 100755
--- a/doc/mupdf/PRE_BUILD
+++ b/doc/mupdf/PRE_BUILD
@@ -12,4 +12,10 @@ if spell_ok openjpeg && ! is_version_less
$(installed_version openjpeg) 2.0; the
rm -rf thirdparty/openjpeg
else
patch -p0 < "${SPELL_DIRECTORY}/opj_malloc.patch"
-fi
+fi &&
+
+sed -e "/zlib.h/i#include <limits.h>" \
+ -e "s;z_const;const;" \
+ -i source/fitz/compress.c &&
+sed "/zlib.h/i#include <limits.h>" \
+ -i source/fitz/load-png.c source/pdf/pdf-write.c
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (6886d9255d458aec4b235f4b90ed12dd5e501309), Pavel Vinogradov, 12/14/2017
Archive powered by MHonArc 2.6.24.