summaryrefslogtreecommitdiff
path: root/textproc/regex2dfa/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/regex2dfa/files')
-rw-r--r--textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h b/textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h
new file mode 100644
index 000000000000..1cb52acd9062
--- /dev/null
+++ b/textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h
@@ -0,0 +1,11 @@
+--- third_party/openfst/src/include/fst/replace.h.orig 2018-10-14 23:15:07 UTC
++++ third_party/openfst/src/include/fst/replace.h
+@@ -1250,7 +1250,7 @@ class ArcIterator< ReplaceFst<A, T, C> > {
+ // If state is already cached, use cached arcs array.
+ if (fst_.GetImpl()->HasArcs(state_)) {
+ (fst_.GetImpl())
+- ->template CacheBaseImpl<typename C::State, C>::InitArcIterator(
++ ->CacheBaseImpl<typename C::State, C>::InitArcIterator(
+ state_, &cache_data_);
+ num_arcs_ = cache_data_.narcs;
+ arcs_ = cache_data_.arcs; // 'arcs_' is a ptr to the cached arcs.