diff options
Diffstat (limited to 'devel/boost-libs/files')
4 files changed, 21 insertions, 47 deletions
diff --git a/devel/boost-libs/files/patch-1.87-smart_ptr b/devel/boost-libs/files/patch-1.87-smart_ptr deleted file mode 100644 index 4c5bd10947e8..000000000000 --- a/devel/boost-libs/files/patch-1.87-smart_ptr +++ /dev/null @@ -1,36 +0,0 @@ -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. - ---- - boost/smart_ptr/intrusive_ptr.hpp | 2 +- - boost/smart_ptr/shared_ptr.hpp | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git boost/smart_ptr/intrusive_ptr.hpp boost/smart_ptr/intrusive_ptr.hpp -index ddb20c0b0e..11b476513a 100644 ---- boost/smart_ptr/intrusive_ptr.hpp -+++ 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 boost/smart_ptr/shared_ptr.hpp boost/smart_ptr/shared_ptr.hpp -index 2431a33590..2deed9b632 100644 ---- boost/smart_ptr/shared_ptr.hpp -+++ 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; diff --git a/devel/boost-libs/files/patch-boost_dll_detail_posix_program__location__impl.hpp b/devel/boost-libs/files/patch-boost_dll_detail_posix_program__location__impl.hpp new file mode 100644 index 000000000000..4afbd9cc2be5 --- /dev/null +++ b/devel/boost-libs/files/patch-boost_dll_detail_posix_program__location__impl.hpp @@ -0,0 +1,11 @@ +--- boost/dll/detail/posix/program_location_impl.hpp.orig 2025-06-14 19:35:17 UTC ++++ boost/dll/detail/posix/program_location_impl.hpp +@@ -70,7 +70,7 @@ namespace boost { namespace dll { namespace detail { + mib[2] = KERN_PROC_PATHNAME; + mib[3] = -1; + char path[1024]; +- size_t size = sizeof(buf); ++ size_t size = sizeof(path); + if (sysctl(mib, 4, path, &size, nullptr, 0) == 0) + return boost::dll::fs::path(path); + diff --git a/devel/boost-libs/files/patch-boost_range_detail_any__iterator__interface.hpp b/devel/boost-libs/files/patch-boost_range_detail_any__iterator__interface.hpp new file mode 100644 index 000000000000..22e2395f0031 --- /dev/null +++ b/devel/boost-libs/files/patch-boost_range_detail_any__iterator__interface.hpp @@ -0,0 +1,10 @@ +--- boost/range/detail/any_iterator_interface.hpp.orig 2025-04-03 11:37:29 UTC ++++ boost/range/detail/any_iterator_interface.hpp +@@ -13,6 +13,7 @@ + #include <boost/mpl/if.hpp> + #include <boost/range/detail/any_iterator_buffer.hpp> + #include <boost/iterator/iterator_categories.hpp> ++#include <boost/type_traits/add_const.hpp> + #include <boost/type_traits/is_convertible.hpp> + #include <boost/type_traits/is_reference.hpp> + #include <boost/type_traits/remove_const.hpp> diff --git a/devel/boost-libs/files/patch-libs_process_src_ext_exe.cpp b/devel/boost-libs/files/patch-libs_process_src_ext_exe.cpp deleted file mode 100644 index e6dc602952da..000000000000 --- a/devel/boost-libs/files/patch-libs_process_src_ext_exe.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- libs/process/src/ext/exe.cpp.orig 2024-12-05 00:53:35 UTC -+++ libs/process/src/ext/exe.cpp -@@ -138,7 +138,7 @@ filesystem::path exe(boost::process::v2::pid_type pid, - filesystem::path("/proc") / std::to_string(pid) / "exe", ec - ); - #elif defined(__sun) -- return fileystem::canonical( -+ return filesystem::canonical( - filesystem::path("/proc") / std::to_string(pid) / "path/a.out", ec - ); - #endif |