[packages/boost] add missing include to fix atomics detection in uhd; rel 2

atler atler at pld-linux.org
Mon Dec 23 17:54:03 CET 2024


commit ab34ea241cd1be65fd7b67c5ac1e992291fa11a6
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Dec 23 17:23:40 2024 +0100

    add missing include to fix atomics detection in uhd; rel 2

 boost.spec     |  4 +++-
 includes.patch | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/boost.spec b/boost.spec
index fc3dadd..ded2fe6 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.87.0
-Release:	1
+Release:	2
 License:	Boost Software License and others
 Group:		Libraries
 Source0:	https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/%{name}_%{fver}.tar.bz2
@@ -22,6 +22,7 @@ Source0:	https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/%{
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-clean-gcc-flags.patch
 Patch2:		%{name}-fallthrough.patch
+Patch3:		includes.patch
 # FC Patches:
 Patch201:	%{name}-python-abi_letters.patch
 # https://svn.boost.org/trac/boost/ticket/5637
@@ -511,6 +512,7 @@ Dokumentacja dla biblioteki Boost C++.
 %patch -P 0 -p1
 %patch -P 1 -p1
 %patch -P 2 -p1
+%patch -P 3 -p1
 
 %patch -P 201 -p1
 %patch -P 203 -p0
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..3cfb7fd
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,10 @@
+--- boost_1_87_0/boost/lockfree/detail/freelist.hpp.orig	2024-12-05 01:53:33.000000000 +0100
++++ boost_1_87_0/boost/lockfree/detail/freelist.hpp	2024-12-23 17:20:21.772444369 +0100
+@@ -10,6 +10,7 @@
+ #define BOOST_LOCKFREE_FREELIST_HPP_INCLUDED
+ 
+ #include <array>
++#include <cstdint>
+ #include <cstring>
+ #include <limits>
+ #include <memory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/ab34ea241cd1be65fd7b67c5ac1e992291fa11a6



More information about the pld-cvs-commit mailing list