From bd0476d632fbe90d4bab658555498bc5d0c4f769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Sun, 26 Jan 2025 07:12:21 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20no=20member=20named=20=E2=80=98that?= =?UTF-8?q?=E2=80=99=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add boost-1.83-fix-no-member-named_that_error.patch - Fixes FTBS of Poedit (#2341086) --- ...-1.83-fix-no-member-named_that_error.patch | 24 +++++++++++++++++++ boost.spec | 8 ++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 boost-1.83-fix-no-member-named_that_error.patch diff --git a/boost-1.83-fix-no-member-named_that_error.patch b/boost-1.83-fix-no-member-named_that_error.patch new file mode 100644 index 0000000..e3efd01 --- /dev/null +++ b/boost-1.83-fix-no-member-named_that_error.patch @@ -0,0 +1,24 @@ +From 49ccf9c30a0ca556873dbf64b12b0d741d1b3e66 Mon Sep 17 00:00:00 2001 +From: Arvid Norlander +Date: Fri, 8 Nov 2024 16:48:43 +0100 +Subject: [PATCH] Fix build on clang-19 (which checks more things in + uninstantiated templates) + +Fixes issue #402 +--- + include/boost/thread/future.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/boost/thread/future.hpp b/include/boost/thread/future.hpp +index 00f504b9b..d15d7ffa5 100644 +--- a/boost/thread/future.hpp ++++ b/boost/thread/future.hpp +@@ -4668,7 +4668,7 @@ namespace detail + } + run_it& operator=(BOOST_THREAD_RV_REF(run_it) x) BOOST_NOEXCEPT { + if (this != &x) { +- that_=x.that; ++ that_=x.that_; + x.that_.reset(); + } + return *this; diff --git a/boost.spec b/boost.spec index 5bee3e4..bfe9734 100644 --- a/boost.spec +++ b/boost.spec @@ -46,7 +46,7 @@ Name: boost %global real_name boost Summary: The free peer-reviewed portable C++ source libraries Version: 1.83.0 -Release: 11%{?dist} +Release: 12%{?dist} License: BSL-1.0 AND MIT AND Python-2.0.1 # Replace each . with _ in %%{version} @@ -176,6 +176,9 @@ Patch11: boost-1.83-Fix-ABI-detection-for-empty-os-platform.patch # https://github.com/boostorg/python/pull/443 Patch12: boost-1.83-NumPy-2.x-dtype.patch +# https://github.com/boostorg/thread/pull/408 +Patch13: boost-1.83-fix-no-member-named_that_error.patch + %bcond_with tests %bcond_with docs_generated @@ -1316,6 +1319,9 @@ fi %{_mandir}/man1/b2.1* %changelog +* Sun Jan 26 2025 Wolfgang Stöggl - 1.83.0-12 +- Add boost-1.83-fix-no-member-named_that_error.patch + * Thu Jan 16 2025 Fedora Release Engineering - 1.83.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild