Control: tags 997289 + patch Dear maintainer,
In hopes of preventing range-v3 and other transitive dependencies like seqan3 from being removed from Debian Testing, I've prepared an NMU for range-v3 (versioned as 0.11.0-1.1) and uploaded it to DELAYED/7. Please feel free to tell me if I should delay it longer. I've also opened a MR at https://salsa.debian.org/crusoe/range-v3 with the same contents. Regards. diff -Nru range-v3-0.11.0/debian/changelog range-v3-0.11.0/debian/changelog --- range-v3-0.11.0/debian/changelog 2020-08-18 08:46:44.000000000 +0200 +++ range-v3-0.11.0/debian/changelog 2021-11-13 11:26:59.000000000 +0100 @@ -1,3 +1,10 @@ +range-v3 (0.11.0-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Apply suggested fix for gcc 11.2. Closes: #997289. + + -- Michael R. Crusoe <cru...@debian.org> Sat, 13 Nov 2021 11:26:59 +0100 + range-v3 (0.11.0-1) unstable; urgency=medium [ Nicholas Guriev ] diff -Nru range-v3-0.11.0/debian/patches/gcc-11.2.patch range-v3-0.11.0/debian/patches/gcc-11.2.patch --- range-v3-0.11.0/debian/patches/gcc-11.2.patch 1970-01-01 01:00:00.000000000 +0100 +++ range-v3-0.11.0/debian/patches/gcc-11.2.patch 2021-11-13 11:20:41.000000000 +0100 @@ -0,0 +1,32 @@ +From: Enrico Seiler <enrico.sei...@hotmail.de> +Date: Fri, 12 Nov 2021 22:25:48 +0100 +Subject: Fix circular swap concept for gcc 11.2 +Origin: upstream, https://github.com/ericniebler/range-v3/pull/1676 +Bug: https://github.com/ericniebler/range-v3/issues/1672 + +--- + include/range/v3/utility/any.hpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/range/v3/utility/any.hpp b/include/range/v3/utility/any.hpp +index 1d63eb8e2..7590829c3 100644 +--- a/include/range/v3/utility/any.hpp ++++ b/include/range/v3/utility/any.hpp +@@ -124,7 +124,7 @@ namespace ranges + any() noexcept = default; + template(typename TRef, typename T = detail::decay_t<TRef>)( + /// \pre +- requires copyable<T> AND (!same_as<T, any>)) // ++ requires copy_constructible<T> AND (!same_as<T, any>)) // + any(TRef && t) + : ptr_(new impl<T>(static_cast<TRef &&>(t))) + {} +@@ -140,7 +140,7 @@ namespace ranges + } + template(typename TRef, typename T = detail::decay_t<TRef>)( + /// \pre +- requires copyable<T> AND (!same_as<T, any>)) // ++ requires copy_constructible<T> AND (!same_as<T, any>)) // + any & operator=(TRef && t) + { + any{static_cast<TRef &&>(t)}.swap(*this); diff -Nru range-v3-0.11.0/debian/patches/series range-v3-0.11.0/debian/patches/series --- range-v3-0.11.0/debian/patches/series 2020-08-18 08:46:44.000000000 +0200 +++ range-v3-0.11.0/debian/patches/series 2021-11-13 11:07:54.000000000 +0100 @@ -1,2 +1,3 @@ +gcc-11.2.patch Detection-of-concepts.patch Workaround-premature-instantiation.patch