mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
mupdf: rename & refresh 1.7 patch to sync offsets for 1.8
This commit is contained in:
@@ -15,7 +15,7 @@ SOURCE_URI="http://www.mupdf.com/downloads/archive/mupdf-$portVersion-source.tar
|
||||
CHECKSUM_SHA256="a2a3c64d8b24920f87cf4ea9339a25abf7388496440f13b37482d1403c33c206"
|
||||
SOURCE_DIR="mupdf-$portVersion-source"
|
||||
PATCHES="
|
||||
mupdf-1.7.patchset
|
||||
mupdf-1.8.patch
|
||||
mupdf-1.6-openjpeg21-1.patch
|
||||
"
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
From 822c66106b347a8483d72db3ac8adffd1bf1aacc Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Tue, 21 Apr 2015 12:57:05 +0300
|
||||
Subject: gcc2 fixes
|
||||
|
||||
|
||||
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
|
||||
index 5df0c50..9e56bdb 100644
|
||||
--- a/include/mupdf/fitz/system.h
|
||||
+++ b/include/mupdf/fitz/system.h
|
||||
@@ -61,6 +61,12 @@
|
||||
diff -upr mupdf-1.8-source/include/mupdf/fitz/system.h mupdf-1.8-source-haiku/include/mupdf/fitz/system.h
|
||||
--- mupdf-1.8-source/include/mupdf/fitz/system.h 2015-11-10 16:19:51.000000000 +0000
|
||||
+++ mupdf-1.8-source-haiku/include/mupdf/fitz/system.h
|
||||
@@ -70,6 +70,12 @@
|
||||
#define fz_jmp_buf jmp_buf
|
||||
#endif
|
||||
|
||||
@@ -21,11 +19,10 @@ index 5df0c50..9e56bdb 100644
|
||||
#ifdef _MSC_VER /* Microsoft Visual C */
|
||||
|
||||
/* MSVC up to VS2012 */
|
||||
diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c
|
||||
index 3c4540e..0953d93 100644
|
||||
--- a/scripts/cmapdump.c
|
||||
+++ b/scripts/cmapdump.c
|
||||
@@ -19,6 +19,24 @@
|
||||
diff -upr mupdf-1.8-source/scripts/cmapdump.c mupdf-1.8-source-haiku/scripts/cmapdump.c
|
||||
--- mupdf-1.8-source/scripts/cmapdump.c 2015-11-10 16:19:51.000000000 +0000
|
||||
+++ mupdf-1.8-source-haiku/scripts/cmapdump.c
|
||||
@@ -22,6 +22,24 @@
|
||||
#include "../source/fitz/ftoa.c"
|
||||
#include "../source/fitz/printf.c"
|
||||
|
||||
@@ -51,19 +48,16 @@ index 3c4540e..0953d93 100644
|
||||
#include "../source/pdf/pdf-cmap.c"
|
||||
#include "../source/pdf/pdf-cmap-parse.c"
|
||||
--
|
||||
2.2.2
|
||||
|
||||
|
||||
From 72fa503df92c304b9bfc3d181424cfe1083b4cfe Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Mon, 18 Nov 2013 01:10:58 -0700
|
||||
Subject: Remove libm and add install-libs target
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 8e45697..f3d352d 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
diff -upr mupdf-1.8-source/Makefile mupdf-1.8-source-haiku/Makefile
|
||||
--- mupdf-1.8-source/Makefile 2015-11-10 16:19:51.000000000 +0000
|
||||
+++ mupdf-1.8-source-haiku/Makefile
|
||||
@@ -16,7 +16,7 @@ include Makethird
|
||||
# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
|
||||
# set a variable that was set on the command line.
|
||||
@@ -73,7 +67,7 @@ index 8e45697..f3d352d 100644
|
||||
|
||||
THIRD_LIBS += $(FREETYPE_LIB)
|
||||
THIRD_LIBS += $(JBIG2DEC_LIB)
|
||||
@@ -330,7 +330,17 @@ third: $(THIRD_LIBS) $(CURL_LIB)
|
||||
@@ -342,7 +342,17 @@ extra: $(CURL_LIB) $(GLFW_LIB)
|
||||
libs: $(INSTALL_LIBS)
|
||||
apps: $(INSTALL_APPS)
|
||||
|
||||
@@ -92,7 +86,7 @@ index 8e45697..f3d352d 100644
|
||||
install -d $(DESTDIR)$(incdir)/mupdf
|
||||
install -d $(DESTDIR)$(incdir)/mupdf/fitz
|
||||
install -d $(DESTDIR)$(incdir)/mupdf/pdf
|
||||
@@ -341,14 +351,6 @@ install: libs apps
|
||||
@@ -353,14 +363,6 @@ install: libs apps
|
||||
install -d $(DESTDIR)$(libdir)
|
||||
install $(INSTALL_LIBS) $(DESTDIR)$(libdir)
|
||||
|
||||
@@ -107,11 +101,10 @@ index 8e45697..f3d352d 100644
|
||||
|
||||
tarball:
|
||||
bash scripts/archive.sh
|
||||
diff --git a/Makerules b/Makerules
|
||||
index 47b6d1c..bcd27ae 100644
|
||||
--- a/Makerules
|
||||
+++ b/Makerules
|
||||
@@ -53,6 +53,27 @@ AR = xcrun ar
|
||||
diff -upr mupdf-1.8-source/Makerules mupdf-1.8-source-haiku/Makerules
|
||||
--- mupdf-1.8-source/Makerules 2015-11-10 16:19:51.000000000 +0000
|
||||
+++ mupdf-1.8-source-haiku/Makerules
|
||||
@@ -66,6 +66,27 @@ AR = xcrun ar
|
||||
LD = xcrun ld
|
||||
RANLIB_CMD = xcrun ranlib $@
|
||||
|
||||
@@ -139,6 +132,3 @@ index 47b6d1c..bcd27ae 100644
|
||||
# Linux uses pkg-config for system libraries.
|
||||
else ifeq "$(OS)" "Linux"
|
||||
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user