From: Matthias Kilian Subject: fix editors/libreoffice with new poppler To: robert@openbsd.org Cc: ports@openbsd.org Date: Tue, 13 May 2025 20:39:38 +0200 Fix build of libreoffice with poppler-25.05.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 13 May 2025 18:14:55 -0000 @@ -0,0 +1,19 @@ +Fix build with poppler-25.05.0. + +Index: sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.orig ++++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +@@ -1318,10 +1318,10 @@ poppler_bool PDFOutDev::tilingPatternFill(GfxState *st + } + + std::unique_ptr pRgbStr(new MemStream(pBitmapData, 0, +- nBitmapWidth * nBitmapHeight * 3, Object(objNull))); ++ nBitmapWidth * nBitmapHeight * 3, Object::null())); + std::unique_ptr pAlphaStr(new MemStream(reinterpret_cast(pSplashBitmap->getAlphaPtr()), +- 0, nBitmapWidth * nBitmapHeight, Object(objNull))); +- auto aDecode = Object(objNull); ++ 0, nBitmapWidth * nBitmapHeight, Object::null())); ++ auto aDecode = Object::null(); + #if POPPLER_CHECK_VERSION(24, 10, 0) + std::unique_ptr pRgbIdentityColorMap(new GfxImageColorMap(8, &aDecode, + std::make_unique()));