git: 9c20cc4799c3 - main - print/scribus-devel: prepare for graphics/poppler 21.04
Tobias C. Berner
tcberner at FreeBSD.org
Wed Apr 14 14:49:29 UTC 2021
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9c20cc4799c31f1a9804d15bc9af0bd205837bba
commit 9c20cc4799c31f1a9804d15bc9af0bd205837bba
Author: Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-04-14 14:48:25 +0000
Commit: Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-04-14 14:48:25 +0000
print/scribus-devel: prepare for graphics/poppler 21.04
Add upstream patch to fix build with the newly released poppler 21.04
PR: 254808
Obtained from: Arch Linux
---
print/scribus-devel/files/patch-poppler-21.04 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/print/scribus-devel/files/patch-poppler-21.04 b/print/scribus-devel/files/patch-poppler-21.04
new file mode 100644
index 000000000000..e6dcc2222ae2
--- /dev/null
+++ b/print/scribus-devel/files/patch-poppler-21.04
@@ -0,0 +1,16 @@
+Index: scribus/plugins/import/pdf/slaoutput.h
+===================================================================
+--- scribus/plugins/import/pdf/slaoutput.h (revision 24598)
++++ scribus/plugins/import/pdf/slaoutput.h (revision 24599)
+@@ -379,7 +379,11 @@
+ Catalog *catalog {nullptr};
+ SplashFontEngine *m_fontEngine {nullptr};
+ SplashFont *m_font {nullptr};
++#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 4, 0)
++ std::unique_ptr<FormPageWidgets> m_formWidgets;
++#else
+ FormPageWidgets *m_formWidgets {nullptr};
++#endif
+ QHash<QString, QList<int> > m_radioMap;
+ QHash<int, PageItem*> m_radioButtons;
+ int m_actPage;
More information about the dev-commits-ports-all
mailing list