[hfst] 01/01: Patch for #871145

Tino Didriksen tinodidriksen-guest at moszumanska.debian.org
Tue Aug 8 12:21:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

tinodidriksen-guest pushed a commit to branch master
in repository hfst.

commit 47227a658c7ee783f4733a3b623d34d16ace55ee
Author: Tino Didriksen <tino at didriksen.cc>
Date:   Tue Aug 8 12:21:28 2017 +0000

    Patch for #871145
---
 debian/patches/hfst_03_notemplate.diff | 13 +++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/hfst_03_notemplate.diff b/debian/patches/hfst_03_notemplate.diff
new file mode 100644
index 0000000..5366761
--- /dev/null
+++ b/debian/patches/hfst_03_notemplate.diff
@@ -0,0 +1,13 @@
+diff --git a/back-ends/openfst/src/include/fst/replace.h b/back-ends/openfst/src/include/fst/replace.h
+index 5cf4759..791a6ff 100644
+--- a/back-ends/openfst/src/include/fst/replace.h
++++ b/back-ends/openfst/src/include/fst/replace.h
+@@ -1050,7 +1050,7 @@ class ArcIterator< ReplaceFst<A, T> > {
+ 
+     // If state is already cached, use cached arcs array.
+     if (fst_.GetImpl()->HasArcs(state_)) {
+-      (fst_.GetImpl())->template CacheImpl<A>::InitArcIterator(state_,
++      (fst_.GetImpl())->CacheImpl<A>::InitArcIterator(state_,
+                                                                &cache_data_);
+       num_arcs_ = cache_data_.narcs;
+       arcs_ = cache_data_.arcs;      // 'arcs_' is a ptr to the cached arcs.
diff --git a/debian/patches/series b/debian/patches/series
index 00479d1..a27f26d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 hfst_02_notimestamp.diff
+hfst_03_notemplate.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hfst.git



More information about the debian-science-commits mailing list