mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Fix build with poppler-24.10.0.
ok robert@
This commit is contained in:
+17
@@ -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(),
|
||||
Reference in New Issue
Block a user