svn commit: r516938 - head/graphics/gdal/files
Tobias C. Berner
tcberner at FreeBSD.org
Thu Nov 7 05:44:09 UTC 2019
Author: tcberner
Date: Thu Nov 7 05:44:08 2019
New Revision: 516938
URL: https://svnweb.freebsd.org/changeset/ports/516938
Log:
graphics/gdal: fix build of poppler option after poppler-0.82
PR: 241772
Submitted by: russo at bogodyn.org
Added:
head/graphics/gdal/files/patch-frmts-pdf-pdfdataset.cpp (contents, props changed)
Added: head/graphics/gdal/files/patch-frmts-pdf-pdfdataset.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/gdal/files/patch-frmts-pdf-pdfdataset.cpp Thu Nov 7 05:44:08 2019 (r516938)
@@ -0,0 +1,28 @@
+--- frmts/pdf/pdfdataset.cpp.orig 2019-11-06 21:52:23.571566000 -0700
++++ frmts/pdf/pdfdataset.cpp 2019-11-06 21:54:10.765908000 -0700
+@@ -205,7 +205,11 @@
+ virtual void drawChar(GfxState *state, double x, double y,
+ double dx, double dy,
+ double originX, double originY,
+- CharCode code, int nBytes, Unicode *u, int uLen) override
++ CharCode code, int nBytes,
++#if POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 82
++ const
++#endif
++ Unicode *u, int uLen) override
+ {
+ if (bEnableText)
+ SplashOutputDev::drawChar(state, x, y, dx, dy,
+@@ -265,7 +269,11 @@
+
+ virtual void drawImage(GfxState *state, Object *ref, Stream *str,
+ int width, int height, GfxImageColorMap *colorMap,
+- GBool interpolate, int *maskColors, GBool inlineImg) override
++ GBool interpolate,
++#if POPPLER_MAJOR_VERSION >= 1 || POPPLER_MINOR_VERSION >= 82
++ const
++#endif
++ int *maskColors, GBool inlineImg) override
+ {
+ if (bEnableBitmap)
+ SplashOutputDev::drawImage(state, ref, str,
More information about the svn-ports-all
mailing list