tags 675129 + patch thanks
don't intend to NMU to experimental
diff -Nru openfst-1.2/debian/changelog openfst-1.2/debian/changelog --- openfst-1.2/debian/changelog 2010-08-19 15:02:46.000000000 +0200 +++ openfst-1.2/debian/changelog 2012-05-30 04:44:18.000000000 +0200 @@ -1,3 +1,10 @@ +openfst (1.2-1.1) experimental; urgency=low + + * Non maintainer upload + * Fix build failure with GCC 4.7. Closes: #675129. + + -- Matthias Klose <[email protected]> Wed, 30 May 2012 02:43:29 +0000 + openfst (1.2-1) experimental; urgency=low * New upstream release. diff -Nru openfst-1.2/debian/patches/ftbfs-gcc-4.7.diff openfst-1.2/debian/patches/ftbfs-gcc-4.7.diff --- openfst-1.2/debian/patches/ftbfs-gcc-4.7.diff 1970-01-01 01:00:00.000000000 +0100 +++ openfst-1.2/debian/patches/ftbfs-gcc-4.7.diff 2012-05-30 04:52:08.000000000 +0200 @@ -0,0 +1,69 @@ +Index: openfst-1.2/src/include/fst/edit-fst.h +=================================================================== +--- openfst-1.2.orig/src/include/fst/edit-fst.h 2010-08-12 02:40:21.000000000 +0200 ++++ openfst-1.2/src/include/fst/edit-fst.h 2012-05-30 04:52:04.743879081 +0200 +@@ -169,13 +169,13 @@ + // Removes all but the first n outgoing arcs of the specified state. + void DeleteArcs(StateId s, size_t n) { + edits_.DeleteArcs(GetEditableInternalId(s), n); +- SetProperties(DeleteArcsProperties(FstImpl<A>::Properties())); ++ this->SetProperties(DeleteArcsProperties(FstImpl<A>::Properties())); + } + + // Removes all outgoing arcs from the specified state. + void DeleteArcs(StateId s) { + edits_.DeleteArcs(GetEditableInternalId(s)); +- SetProperties(DeleteArcsProperties(FstImpl<A>::Properties())); ++ this->SetProperties(DeleteArcsProperties(FstImpl<A>::Properties())); + } + + // end non-const MutableFst operations +@@ -212,9 +212,9 @@ + + // Causes this fst to inherit the properties from its wrapped fst. + void InheritPropertiesFromWrapped() { +- SetProperties(wrapped_->Properties(kFstProperties, false)); +- SetInputSymbols(wrapped_->InputSymbols()); +- SetOutputSymbols(wrapped_->OutputSymbols()); ++ this->SetProperties(wrapped_->Properties(kFstProperties, false)); ++ this->SetInputSymbols(wrapped_->InputSymbols()); ++ this->SetOutputSymbols(wrapped_->OutputSymbols()); + } + + // Returns the iterator of the map from external to internal state id's +@@ -287,7 +287,7 @@ + template<typename A, typename MutableFstT> + inline void EditFstImpl<A, MutableFstT>::SetStart(StateId s) { + edits_.SetStart(s); +- SetProperties(SetStartProperties(FstImpl<A>::Properties())); ++ this->SetProperties(SetStartProperties(FstImpl<A>::Properties())); + } + + template<typename A, typename MutableFstT> +@@ -303,7 +303,7 @@ + else { + edits_.SetFinal(GetEditableInternalId(s), w); + } +- SetProperties(SetFinalProperties(FstImpl<A>::Properties(), old_weight, w)); ++ this->SetProperties(SetFinalProperties(FstImpl<A>::Properties(), old_weight, w)); + } + + template<typename A, typename MutableFstT> +@@ -312,7 +312,7 @@ + StateId external_state_id = NumStates(); + external_to_internal_ids_[external_state_id] = internal_state_id; + num_new_states_++; +- SetProperties(AddStateProperties(FstImpl<A>::Properties())); ++ this->SetProperties(AddStateProperties(FstImpl<A>::Properties())); + return external_state_id; + } + +@@ -328,7 +328,7 @@ + arc_it.Seek(num_arcs - 1); + prev_arc = &(arc_it.Value()); + } +- SetProperties(AddArcProperties(FstImpl<A>::Properties(), s, arc, prev_arc)); ++ this->SetProperties(AddArcProperties(FstImpl<A>::Properties(), s, arc, prev_arc)); + + edits_.AddArc(internal_id, arc); + } diff -Nru openfst-1.2/debian/patches/series openfst-1.2/debian/patches/series --- openfst-1.2/debian/patches/series 2010-08-19 15:04:50.000000000 +0200 +++ openfst-1.2/debian/patches/series 2012-05-30 04:40:34.000000000 +0200 @@ -1 +1,2 @@ unresolved-symbols.diff +ftbfs-gcc-4.7.diff

