[packages/boost] upstream patch to fix typo in thread's header file; rel 8
atler
atler at pld-linux.org
Fri Jan 23 21:31:32 CET 2026
commit 814386e3e98d3254febea05e88e52c7ff6b24b46
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jan 23 21:30:51 2026 +0100
upstream patch to fix typo in thread's header file; rel 8
boost.spec | 4 +++-
thread-typo.patch | 24 ++++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/boost.spec b/boost.spec
index fed07ab..9fdcec5 100644
--- a/boost.spec
+++ b/boost.spec
@@ -14,7 +14,7 @@ Summary: The Boost C++ Libraries
Summary(pl.UTF-8): Biblioteki C++ "Boost"
Name: boost
Version: 1.85.0
-Release: 7
+Release: 8
Epoch: 1
License: Boost Software License and others
Group: Libraries
@@ -25,6 +25,7 @@ Patch1: %{name}-clean-gcc-flags.patch
Patch2: %{name}-fallthrough.patch
Patch3: includes.patch
Patch4: numpy2.patch
+Patch5: thread-typo.patch
# FC Patches:
Patch201: %{name}-python-abi_letters.patch
# https://svn.boost.org/trac/boost/ticket/5637
@@ -516,6 +517,7 @@ Dokumentacja dla biblioteki Boost C++.
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1 -d libs/python
+%patch -P 5 -p2
%patch -P 201 -p1
%patch -P 203 -p0
diff --git a/thread-typo.patch b/thread-typo.patch
new file mode 100644
index 0000000..55e1a88
--- /dev/null
+++ b/thread-typo.patch
@@ -0,0 +1,24 @@
+From 49ccf9c30a0ca556873dbf64b12b0d741d1b3e66 Mon Sep 17 00:00:00 2001
+From: Arvid Norlander <arvid-norlander at 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/include/boost/thread/future.hpp
++++ b/include/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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/814386e3e98d3254febea05e88e52c7ff6b24b46
More information about the pld-cvs-commit
mailing list