Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 14:49:28 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9c20cc4799c3 - main - print/scribus-devel: prepare for graphics/poppler 21.04
Message-ID:  <202104141449.13EEnSL9053142@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c20cc4799c31f1a9804d15bc9af0bd205837bba

commit 9c20cc4799c31f1a9804d15bc9af0bd205837bba
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-04-14 14:48:25 +0000
Commit:     Tobias C. Berner <tcberner@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104141449.13EEnSL9053142>