Accepting request 521031 from devel:tools
- Add gcc7.diff OBS-URL: https://build.opensuse.org/request/show/521031 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hfst?expand=0&rev=2
This commit is contained in:
commit
dabf66d2c9
25
gcc7.diff
Normal file
25
gcc7.diff
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 134d5a5aac3fd015c4955b6f5fdfede42159e402 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tino Didriksen <tino@didriksen.cc>
|
||||||
|
Date: Tue, 8 Aug 2017 11:28:03 +0000
|
||||||
|
Subject: [PATCH] Works around issue #358
|
||||||
|
|
||||||
|
---
|
||||||
|
back-ends/openfst/src/include/fst/replace.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/back-ends/openfst/src/include/fst/replace.h b/back-ends/openfst/src/include/fst/replace.h
|
||||||
|
index 5cf4759c..791a6ff8 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.
|
||||||
|
--
|
||||||
|
2.14.1
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 5 00:44:15 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Add gcc7.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 27 16:53:12 UTC 2017 - jengelh@inai.de
|
Thu Apr 27 16:53:12 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Patch2: hfst-wrong-flags.diff
|
|||||||
Patch3: hfst-split-libs.diff
|
Patch3: hfst-split-libs.diff
|
||||||
Patch4: hfst-scripts-install.diff
|
Patch4: hfst-scripts-install.diff
|
||||||
Patch5: hfst-nodate.diff
|
Patch5: hfst-nodate.diff
|
||||||
|
Patch6: gcc7.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -110,7 +111,7 @@ want to make use of the HFST library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 2 -P 3 -P 4 -P 5 -p1
|
%patch -P 2 -P 3 -P 4 -P 5 -P 6 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
Loading…
Reference in New Issue
Block a user