diff --git a/zug-gcc15.patch b/zug-gcc15.patch new file mode 100644 index 0000000..8dde873 --- /dev/null +++ b/zug-gcc15.patch @@ -0,0 +1,13 @@ +Index: zug-0.1.1/zug/sequence.hpp +=================================================================== +--- zug-0.1.1.orig/zug/sequence.hpp ++++ zug-0.1.1/zug/sequence.hpp +@@ -72,7 +72,7 @@ struct sequence_data + + sequence_data& operator=(sequence_data&& other) + { +- impl_ = std::move(other.impl); ++ impl_ = std::move(other.impl_); + impl_.reductor.current(this); + } + diff --git a/zug.changes b/zug.changes index 20755cf..3b786a0 100644 --- a/zug.changes +++ b/zug.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 12 10:18:34 UTC 2025 - pgajdos@suse.com + +- added patches + fix https://github.com/arximboldi/zug/issues/45 + + zug-gcc15.patch + ------------------------------------------------------------------- Tue Oct 24 07:20:34 UTC 2023 - Christophe Marin diff --git a/zug.spec b/zug.spec index bdf78b1..0104dce 100644 --- a/zug.spec +++ b/zug.spec @@ -1,7 +1,7 @@ # # spec file for package zug # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,8 @@ Summary: Transducers for C++ License: BSL-1.0 URL: https://sinusoid.es/zug/ Source0: https://github.com/arximboldi/zug/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# https://github.com/arximboldi/zug/issues/45 +Patch0: zug-gcc15.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: gcc-c++