Package: scribus / 1.5.6.1+dfsg-2

fix-podofo-0.9.7.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix build with PoDoFo 0.9.7
Origin: upstream, https://www.scribus.net/websvn/comp.php?repname=Scribus&compare[]=%2F@24391&compare[]=%2F@24392
Bug: https://bugs.scribus.net/view.php?id=16427
Acked-By: Mattia Rizzolo <mattia@debian.org>
Last-Update: 2021-01-12

--- a/scribus/pdf_analyzer.cpp
+++ b/scribus/pdf_analyzer.cpp
@@ -139,7 +139,9 @@
 					{
 						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")