git: f381a031a251 - main - math/openfst: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Mar 2026 06:07:05 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f381a031a25189c810eb9512f0d6ea7ad4d1bce3
commit f381a031a25189c810eb9512f0d6ea7ad4d1bce3
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-22 06:06:42 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-22 06:07:02 +0000
math/openfst: Fix build
Reported by: fallout
---
math/openfst/files/patch-src_include_fst_fst.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/math/openfst/files/patch-src_include_fst_fst.h b/math/openfst/files/patch-src_include_fst_fst.h
new file mode 100644
index 000000000000..a8d162fa3668
--- /dev/null
+++ b/math/openfst/files/patch-src_include_fst_fst.h
@@ -0,0 +1,13 @@
+--- src/include/fst/fst.h.orig 2026-03-22 05:51:04 UTC
++++ src/include/fst/fst.h
+@@ -652,8 +652,8 @@ class FstImpl {
+ FstImpl &operator=(const FstImpl<Arc> &impl) {
+ properties_ = impl.properties_;
+ type_ = impl.type_;
+- isymbols_ = impl.isymbols_ ? impl.isymbols_->Copy() : nullptr;
+- osymbols_ = impl.osymbols_ ? impl.osymbols_->Copy() : nullptr;
++ isymbols_.reset(impl.isymbols_ ? impl.isymbols_->Copy() : nullptr);
++ osymbols_.reset(impl.osymbols_ ? impl.osymbols_->Copy() : nullptr);
+ return *this;
+ }
+