mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
Fix build with poppler-25.09.1.
ok robert@ (maintainer)
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
Fix build with poppler-25.09.1.
|
||||
|
||||
Index: sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|
||||
--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.orig
|
||||
+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|
||||
@@ -1249,11 +1249,11 @@ void PDFOutDev::setSkipImages( bool bSkipImages )
|
||||
|
||||
#if POPPLER_CHECK_VERSION(21, 3, 0)
|
||||
poppler_bool PDFOutDev::tilingPatternFill(GfxState *state, Gfx *, Catalog *,
|
||||
- GfxTilingPattern *tPat, const double *mat,
|
||||
+ GfxTilingPattern *tPat, const std::array<double, 6> &mat,
|
||||
int x0, int y0, int x1, int y1,
|
||||
double xStep, double yStep)
|
||||
{
|
||||
- const double *pBbox = tPat->getBBox();
|
||||
+ const std::array<double, 4> &pBbox = tPat->getBBox();
|
||||
const int nPaintType = tPat->getPaintType();
|
||||
Dict *pResDict = tPat->getResDict();
|
||||
Object *aStr = tPat->getContentStream();
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
Fix build with poppler-25.09.1.
|
||||
|
||||
Index: sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|
||||
--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx.orig
|
||||
+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
|
||||
@@ -287,7 +287,7 @@ namespace pdfi
|
||||
#if POPPLER_CHECK_VERSION(21, 3, 0)
|
||||
poppler_bool useTilingPatternFill() override { return true; };
|
||||
poppler_bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat,
|
||||
- GfxTilingPattern *tPat, const double *mat,
|
||||
+ GfxTilingPattern *tPat, const std::array<double, 6> &mat,
|
||||
int x0, int y0, int x1, int y1,
|
||||
double xStep, double yStep) override;
|
||||
#endif
|
||||
Reference in New Issue
Block a user