ok On 22/10/24 20:15 +0200, Matthias Kilian wrote: > Fix build with poppler-24.10.0. > > ok? > > Ciao, > Kili > > Index: patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev_gpl_cxx > =================================================================== > RCS file: patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev_gpl_cxx > diff -N patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev_gpl_cxx > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev_gpl_cxx > 22 Oct 2024 18:04:36 -0000 > @@ -0,0 +1,17 @@ > +Fix build with poppler-24.10.0. > + > +Index: sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx > +--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.orig > ++++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx > +@@ -1306,9 +1306,9 @@ poppler_bool PDFOutDev::tilingPatternFill(GfxState *st > + 0, nBitmapWidth * nBitmapHeight, Object(objNull))); > + auto aDecode = Object(objNull); > + std::unique_ptr<GfxImageColorMap> pRgbIdentityColorMap(new > GfxImageColorMap(8, &aDecode, > +- new GfxDeviceRGBColorSpace())); > ++ std::unique_ptr<GfxColorSpace> (new GfxDeviceRGBColorSpace()))); > + std::unique_ptr<GfxImageColorMap> pGrayIdentityColorMap(new > GfxImageColorMap(8, &aDecode, > +- new GfxDeviceGrayColorSpace())); > ++ std::unique_ptr<GfxColorSpace> (new GfxDeviceGrayColorSpace()))); > + > + OutputBuffer aBuf; initBuf(aBuf); > + writePng_(aBuf, pRgbStr.get(), nBitmapWidth, nBitmapHeight, > pRgbIdentityColorMap.get(),
-- Regards, Robert Nagy