Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 05:44:09 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516938 - head/graphics/gdal/files
Message-ID:  <201911070544.xA75i97D012970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911070544.xA75i97D012970>