aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-04-14 14:48:25 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-04-14 14:48:25 +0000
commit9c20cc4799c31f1a9804d15bc9af0bd205837bba (patch)
treec2878985f4455509b6b2bd233f82d0192bac10b8
parent08b8fa7e90fabcafafb9e31f2a13f5150a458fbc (diff)
downloadports-9c20cc4799c31f1a9804d15bc9af0bd205837bba.tar.gz
ports-9c20cc4799c31f1a9804d15bc9af0bd205837bba.zip
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
-rw-r--r--print/scribus-devel/files/patch-poppler-21.0416
1 files changed, 16 insertions, 0 deletions
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;