git: 0df1ef7cd883 - main - print/scribus-devel: fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 17:23:42 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0df1ef7cd883e13c0b9983150913208e4a05db40
commit 0df1ef7cd883e13c0b9983150913208e4a05db40
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-07-26 17:20:50 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-07-26 17:23:41 +0000
print/scribus-devel: fix build with llvm16
PR: 272673
---
print/scribus-devel/files/patch-scribus_desaxe_digester.cpp | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/print/scribus-devel/files/patch-scribus_desaxe_digester.cpp b/print/scribus-devel/files/patch-scribus_desaxe_digester.cpp
new file mode 100644
index 000000000000..41a978ccd222
--- /dev/null
+++ b/print/scribus-devel/files/patch-scribus_desaxe_digester.cpp
@@ -0,0 +1,11 @@
+--- scribus/desaxe/digester.cpp.orig 2023-07-26 15:32:48 UTC
++++ scribus/desaxe/digester.cpp
+@@ -448,7 +448,7 @@ automata::NFA<nfa_state_t, token_t>* RuleState::create
+ return nfa;
+ }
+
+-struct CreateDFAState : public std::unary_function <std::set<nfa_state_t>, dfa_state_t> {
++struct CreateDFAState : public std::__unary_function <std::set<nfa_state_t>, dfa_state_t> {
+
+ CreateDFAState(const std::vector<rule_t>& rules, const std::vector<nfa_state_t>& accepting)
+ : n(0), rules_(rules), accepting_(accepting)