[132692] trunk/dports/textproc/pdf2htmlex
devans at macports.org
devans at macports.org
Sat Feb 7 14:58:01 PST 2015
Revision: 132692
https://trac.macports.org/changeset/132692
Author: devans at macports.org
Date: 2015-02-07 14:58:01 -0800 (Sat, 07 Feb 2015)
Log Message:
-----------
pdf2htmlex: add patch to fix build against poppler 0.31.0.
Modified Paths:
--------------
trunk/dports/textproc/pdf2htmlex/Portfile
Added Paths:
-----------
trunk/dports/textproc/pdf2htmlex/files/
trunk/dports/textproc/pdf2htmlex/files/patch-poppler-0.31.diff
Modified: trunk/dports/textproc/pdf2htmlex/Portfile
===================================================================
--- trunk/dports/textproc/pdf2htmlex/Portfile 2015-02-07 22:25:52 UTC (rev 132691)
+++ trunk/dports/textproc/pdf2htmlex/Portfile 2015-02-07 22:58:01 UTC (rev 132692)
@@ -26,3 +26,5 @@
port:pkgconfig \
port:poppler \
port:poppler-data
+
+patchfiles patch-poppler-0.31.diff
Added: trunk/dports/textproc/pdf2htmlex/files/patch-poppler-0.31.diff
===================================================================
--- trunk/dports/textproc/pdf2htmlex/files/patch-poppler-0.31.diff (rev 0)
+++ trunk/dports/textproc/pdf2htmlex/files/patch-poppler-0.31.diff 2015-02-07 22:58:01 UTC (rev 132692)
@@ -0,0 +1,31 @@
+--- src/BackgroundRenderer/SplashBackgroundRenderer.h.orig 2015-02-07 14:21:17.000000000 -0800
++++ src/BackgroundRenderer/SplashBackgroundRenderer.h 2015-02-07 14:27:35.000000000 -0800
+@@ -28,7 +28,7 @@
+ static const SplashColor white;
+
+ SplashBackgroundRenderer(HTMLRenderer * html_renderer, const Param & param)
+- : SplashOutputDev(splashModeRGB8, 4, gFalse, (SplashColorPtr)(&white), gTrue, gTrue)
++ : SplashOutputDev(splashModeRGB8, 4, gFalse, (SplashColorPtr)(&white), gTrue)
+ , html_renderer(html_renderer)
+ , param(param)
+ { }
+--- src/HTMLRenderer/font.cc.orig 2015-02-07 13:58:56.000000000 -0800
++++ src/HTMLRenderer/font.cc 2015-02-07 14:00:27.000000000 -0800
+@@ -887,7 +887,7 @@
+ * which does not make much sense in our case
+ * If we specify gFalse here, font_loc->locaType cannot be gfxFontLocResident
+ */
+- if(auto * font_loc = font->locateFont(xref, gFalse))
++ if(auto * font_loc = font->locateFont(xref, NULL))
+ {
+ switch(font_loc -> locType)
+ {
+@@ -942,7 +942,7 @@
+ cerr << "Warning: workaround for font names in bad encodings." << endl;
+ }
+
+- GfxFontLoc * localfontloc = font->locateFont(xref, gFalse);
++ GfxFontLoc * localfontloc = font->locateFont(xref, NULL);
+
+ if(param.embed_external_font)
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150207/f33311df/attachment.html>
More information about the macports-changes
mailing list