commit openfst for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openfst for openSUSE:Factory checked in at 2024-11-03 07:18:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openfst (Old) and /work/SRC/openSUSE:Factory/.openfst.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openfst" Sun Nov 3 07:18:12 2024 rev:3 rq:1220364 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/openfst/openfst.changes 2024-02-08 19:06:04.259618070 +0100 +++ /work/SRC/openSUSE:Factory/.openfst.new.2020/openfst.changes 2024-11-03 07:18:42.074664112 +0100 @@ -1,0 +2,5 @@ +Sat Nov 2 22:54:35 UTC 2024 - Jan Engelhardt <jengelh@inai.de> + +- Add gcc14.patch + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo build.specials.obscpio gcc14.patch BETA DEBUG BEGIN: New: - Add gcc14.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openfst.spec ++++++ --- /var/tmp/diff_new_pack.M0aKMf/_old 2024-11-03 07:18:43.802735550 +0100 +++ /var/tmp/diff_new_pack.M0aKMf/_new 2024-11-03 07:18:43.814736046 +0100 @@ -26,6 +26,7 @@ URL: http://www.openfst.org/ Source: http://www.openfst.org/twiki/pub/FST/FstDownload/%name-%version.tar.gz Patch1: i586-80bitfp.patch +Patch2: gcc14.patch %if 0%{?suse_version} && 0%{?suse_version} < 1600 BuildRequires: gcc12-c++ >= 8.1.0 %else @@ -72,8 +73,7 @@ %make_install find %buildroot/%_libdir -type f -name "*.la" -print -delete -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files %license COPYING ++++++ _scmsync.obsinfo ++++++ mtime: 1730588179 commit: 4b140a38e3972b5ec64a8e95b794d12e345253067aa81c6fd419256beba3a289 url: https://src.opensuse.org/jengelh/openfst revision: master ++++++ gcc14.patch ++++++ From: Jan Engelhardt <ej@inai.de> Date: 2024-11-02 23:48:50.447834368 +0100 g++-14 does more checks even on _unexpanded_ templates; hence this new error that did not show up in g++-12. Building encode.cc under g++-14 yielded: ``` ./../include/fst/fst.h:690:59: error: no match for 'operator=' (operand types are 'std::unique_ptr<fst::SymbolTable, std::default_delete<fst::SymbolTable> >' and 'fst::SymbolTable*') 690 | isymbols_ = impl.isymbols_ ? impl.isymbols_->Copy() : nullptr; ``` --- src/include/fst/fst.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: openfst-1.8.3/src/include/fst/fst.h =================================================================== --- openfst-1.8.3.orig/src/include/fst/fst.h +++ openfst-1.8.3/src/include/fst/fst.h @@ -687,8 +687,8 @@ class FstImpl { properties_.store(impl.properties_.load(std::memory_order_relaxed), std::memory_order_relaxed); 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; }
participants (1)
-
Source-Sync