$OpenBSD: patch-scribus_pdf_analyzer_cpp,v 1.1 2021/04/07 14:08:35 sthen Exp $

http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24392
#16427: Fix build failure with podofo 0.9.7

Index: scribus/pdf_analyzer.cpp
--- scribus/pdf_analyzer.cpp.orig
+++ scribus/pdf_analyzer.cpp
@@ -139,7 +139,9 @@ PDFColorSpace PDFAnalyzer::getCSType(PdfObject* cs)
 					{
 						pBase = cs->GetOwner()->GetObject(base.GetReference());
 					}
+#if (PODOFO_VERSION < PODOFO_MAKE_VERSION(0, 9, 7))
 					pBase->SetOwner(cs->GetOwner());
+#endif
 					return getCSType(pBase);
 				}
 				if (csTypeName == "Separation")
