aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;