boost ver. bump

This commit is contained in:
Rmys
2025-02-23 13:03:54 +03:00
parent b8dd473487
commit 72bcba6ba1
2 changed files with 47 additions and 2 deletions
@@ -0,0 +1,36 @@
From e7433ba54596da97cb7859455cd37ca140305a9c Mon Sep 17 00:00:00 2001
From: Peter Dimov <pdimov@gmail.com>
Date: Mon, 13 Jan 2025 16:13:04 +0200
Subject: [PATCH] Fix operator<< for shared_ptr and intrusive_ptr. Fixes #115.
---
include/boost/smart_ptr/intrusive_ptr.hpp | 2 +-
include/boost/smart_ptr/shared_ptr.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/boost/smart_ptr/intrusive_ptr.hpp b/include/boost/smart_ptr/intrusive_ptr.hpp
index ddb20c0b0e..11b476513a 100644
--- a/include/boost/smart_ptr/intrusive_ptr.hpp
+++ b/include/boost/smart_ptr/intrusive_ptr.hpp
@@ -285,7 +285,7 @@ template<class T, class U> intrusive_ptr<T> dynamic_pointer_cast( intrusive_ptr<
// operator<<
-template<class Y> std::ostream & operator<< (std::ostream & os, intrusive_ptr<Y> const & p)
+template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, intrusive_ptr<Y> const & p)
{
os << p.get();
return os;
diff --git a/include/boost/smart_ptr/shared_ptr.hpp b/include/boost/smart_ptr/shared_ptr.hpp
index 2431a33590..2deed9b632 100644
--- a/include/boost/smart_ptr/shared_ptr.hpp
+++ b/include/boost/smart_ptr/shared_ptr.hpp
@@ -775,7 +775,7 @@ template<class T> inline typename shared_ptr<T>::element_type * get_pointer(shar
// operator<<
-template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p)
+template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)
{
os << p.get();
return os;
+11 -2
View File
@@ -13,13 +13,13 @@
<IsA>library</IsA>
<Summary>Peer-reviewed portable C++ source libraries</Summary>
<Description>Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.</Description>
<Archive sha1sum="75b1f569134401d178ad2aaf97a2993898dd7ee3" type="tarbz2">https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2</Archive>
<Archive sha1sum="acf19e9d53f0b6db8e85452978eb9c731ef8b865" type="tarbz2">https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>bzip2</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>zstd-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency versionFrom="76.1">icu4c-devel</Dependency>
<!-- <Dependency>python-devel</Dependency> -->
<Dependency>python3-devel</Dependency> -->
<!-- libsxlt is needed for xsltproc -->
@@ -30,6 +30,7 @@
</BuildDependencies>
<Patches>
<Patch>boost-1.81.0-phoenix-multiple-definitions.patch</Patch>
<Patch>e7433ba54596da97cb7859455cd37ca140305a9c.patch</Patch>
<!-- <Patch>5bd5bfb9.patch</Patch> -->
<!-- <Patch>b29603fa.patch</Patch> -->
</Patches>
@@ -54,6 +55,7 @@
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/b2/src</Path>
<Path fileType="data"> /usr/share/boost_predef</Path>
</Files>
</Package>
@@ -101,6 +103,13 @@
</Package>
<History>
<Update release="20">
<Date>2025-02-23</Date>
<Version>1.87.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="19">
<Date>2023-10-16</Date>
<Version>1.83.0</Version>