Fix no member named ‘that’ error

- Add boost-1.83-fix-no-member-named_that_error.patch
- Fixes FTBS of Poedit (#2341086)
This commit is contained in:
Wolfgang Stöggl 2025-01-26 07:12:21 +01:00
commit bd0476d632
2 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,24 @@
From 49ccf9c30a0ca556873dbf64b12b0d741d1b3e66 Mon Sep 17 00:00:00 2001
From: Arvid Norlander <arvid-norlander@users.noreply.github.com>
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;

View file

@ -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 <c72578@yahoo.de> - 1.83.0-12
- Add boost-1.83-fix-no-member-named_that_error.patch
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.83.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild