aboutsummaryrefslogtreecommitdiff
path: root/devel/boost-libs/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boost-libs/files')
-rw-r--r--devel/boost-libs/files/patch-boost_algorithm_searching_boyer__moore.hpp13
-rw-r--r--devel/boost-libs/files/patch-boost_dll_detail_posix_program__location__impl.hpp19
-rw-r--r--devel/boost-libs/files/patch-libs_beast_test_beast_core_basic__stream.cpp33
-rw-r--r--devel/boost-libs/files/patch-libs_graph_test_Jamfile.v216
-rw-r--r--devel/boost-libs/files/patch-libs_predef_test_build.jam13
-rw-r--r--devel/boost-libs/files/patch-libs_unordered_test_Jamfile.v214
-rw-r--r--devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp20
7 files changed, 109 insertions, 19 deletions
diff --git a/devel/boost-libs/files/patch-boost_algorithm_searching_boyer__moore.hpp b/devel/boost-libs/files/patch-boost_algorithm_searching_boyer__moore.hpp
new file mode 100644
index 000000000000..51fb581c7eef
--- /dev/null
+++ b/devel/boost-libs/files/patch-boost_algorithm_searching_boyer__moore.hpp
@@ -0,0 +1,13 @@
+Patch from: https://github.com/boostorg/algorithm/pull/124
+Fixed patch paths to match boost distribution.
+
+--- boost/algorithm/searching/boyer_moore.hpp.orig 2025-08-06 18:49:07 UTC
++++ boost/algorithm/searching/boyer_moore.hpp
+@@ -10,6 +10,7 @@
+ #ifndef BOOST_ALGORITHM_BOYER_MOORE_SEARCH_HPP
+ #define BOOST_ALGORITHM_BOYER_MOORE_SEARCH_HPP
+
++#include <algorithm> // for std::reverse_copy
+ #include <iterator> // for std::iterator_traits
+
+ #include <boost/config.hpp>
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
index 85d01b6cf416..22178da64a65 100644
--- 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
@@ -1,24 +1,5 @@
-From d662bcbb67ae5da919d35f83e0bcc21769de0ac4 Mon Sep 17 00:00:00 2001
-From: Antony Polukhin <antoshkka@gmail.com>
-Date: Wed, 11 Jun 2025 09:59:25 +0300
-Subject: [PATCH] Fix usage of missing variable (#98)
-
-Fixes https://github.com/boostorg/dll/issues/96
--- boost/dll/detail/posix/program_location_impl.hpp.orig 2025-04-03 11:37:24 UTC
+++ boost/dll/detail/posix/program_location_impl.hpp
-@@ -70,9 +70,10 @@ namespace boost { namespace dll { namespace detail {
- mib[2] = KERN_PROC_PATHNAME;
- mib[3] = -1;
- char path[1024];
-- size_t size = sizeof(buf);
-- if (sysctl(mib, 4, path, &size, nullptr, 0) == 0)
-+ size_t size = sizeof(path);
-+ if (sysctl(mib, 4, path, &size, nullptr, 0) == 0) {
- return boost::dll::fs::path(path);
-+ }
-
- const auto errno_snapshot = static_cast<std::errc>(errno);
- if (errno_snapshot != std::errc::not_enough_memory) {
@@ -83,7 +84,7 @@ namespace boost { namespace dll { namespace detail {
std::string p;
diff --git a/devel/boost-libs/files/patch-libs_beast_test_beast_core_basic__stream.cpp b/devel/boost-libs/files/patch-libs_beast_test_beast_core_basic__stream.cpp
new file mode 100644
index 000000000000..6075772c26a7
--- /dev/null
+++ b/devel/boost-libs/files/patch-libs_beast_test_beast_core_basic__stream.cpp
@@ -0,0 +1,33 @@
+Delete a test case that tries to fail to connect to an
+unconnectable address, but instead fails because network-sandbox
+prevents the connection.
+
+Bug: https://bugs.gentoo.org/954810
+
+--- libs/beast/test/beast/core/basic_stream.cpp.orig 2025-08-06 18:49:08 UTC
++++ libs/beast/test/beast/core/basic_stream.cpp
+@@ -1014,24 +1014,6 @@ class basic_stream_test (public)
+ //
+
+ {
+- // normal timeout
+- // Requires timeout happen before ECONNREFUSED
+- stream_type s(ioc);
+- auto const ep = net::ip::tcp::endpoint(
+- #if 1
+- // This address _should_ be unconnectible
+- net::ip::make_address("72.5.65.111"), 1);
+- #else
+- // On Travis ECONNREFUSED happens before the timeout
+- net::ip::make_address("127.0.0.1"), 1);
+- #endif
+- s.expires_after(std::chrono::seconds(0));
+- s.async_connect(ep, connect_handler{error::timeout});
+- ioc.run_for(std::chrono::seconds(1));
+- ioc.restart();
+- }
+-
+- {
+ // stream destroyed
+ {
+ stream_type s(ioc);
diff --git a/devel/boost-libs/files/patch-libs_graph_test_Jamfile.v2 b/devel/boost-libs/files/patch-libs_graph_test_Jamfile.v2
new file mode 100644
index 000000000000..237c3129410c
--- /dev/null
+++ b/devel/boost-libs/files/patch-libs_graph_test_Jamfile.v2
@@ -0,0 +1,16 @@
+Do not depend on boost_system's test build directory since it no longer exists.
+
+--- libs/graph/test/Jamfile.v2.orig 2025-08-06 18:49:10 UTC
++++ libs/graph/test/Jamfile.v2
+@@ -172,11 +172,9 @@ alias graph_test_with_filesystem :
+ alias graph_test_with_filesystem :
+ [ run all_planar_input_files_test.cpp
+ ../../filesystem/build
+- ../../system/build
+ : $(PLANAR_INPUT_FILES) ]
+ [ run parallel_edges_loops_test.cpp
+ ../../filesystem/build
+- ../../system/build
+ : $(PLANAR_INPUT_FILES) ]
+ ;
+
diff --git a/devel/boost-libs/files/patch-libs_predef_test_build.jam b/devel/boost-libs/files/patch-libs_predef_test_build.jam
new file mode 100644
index 000000000000..7fdc2e1a8234
--- /dev/null
+++ b/devel/boost-libs/files/patch-libs_predef_test_build.jam
@@ -0,0 +1,13 @@
+Use the correct path to the include file.
+
+--- libs/predef/test/build.jam.orig 2025-08-06 18:49:13 UTC
++++ libs/predef/test/build.jam
+@@ -12,7 +12,7 @@ project
+ : requirements
+ # Add explicit dependency since we don't have header scanner for
+ # .m and .mm files.
+- <dependency>../include/boost/predef.h
++ <dependency>../../../boost/predef.h
+ ;
+
+ using testing ;
diff --git a/devel/boost-libs/files/patch-libs_unordered_test_Jamfile.v2 b/devel/boost-libs/files/patch-libs_unordered_test_Jamfile.v2
new file mode 100644
index 000000000000..8c370711a027
--- /dev/null
+++ b/devel/boost-libs/files/patch-libs_unordered_test_Jamfile.v2
@@ -0,0 +1,14 @@
+Disable use of TBB aka OneAPI for tests due to some undiagnosed inclusion
+and/or linker issue: https://github.com/boostorg/unordered/issues/222
+
+--- libs/unordered/test/Jamfile.v2.orig 2025-08-06 18:49:15 UTC
++++ libs/unordered/test/Jamfile.v2
+@@ -39,6 +39,8 @@ project
+ <toolset>gcc:<warnings-as-errors>on
+ <toolset>clang:<warnings-as-errors>on
+ <toolset>msvc:<warnings-as-errors>on
++
++ <cxxflags>-DBOOST_UNORDERED_DISABLE_PARALLEL_ALGORITHMS
+ ;
+
+ path-constant BOOST_UNORDERED_TEST_DIR : . ;
diff --git a/devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp b/devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp
new file mode 100644
index 000000000000..b532f198507a
--- /dev/null
+++ b/devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp
@@ -0,0 +1,20 @@
+Building tests with gcc-15 fails with:
+
+operators_unary.cpp: In function 'int main()':
+operators_unary.cpp:30:14: error: 'uint32_t' was not declared in this scope
+ 30 | term<uint32_t> x{{2u}};
+ | ^~~~~~~~
+
+Bug: https://bugs.gentoo.org/954810
+
+--- libs/yap/test/operators_unary.cpp.orig 2025-08-06 18:49:15 UTC
++++ libs/yap/test/operators_unary.cpp
+@@ -8,7 +8,7 @@
+ #include <boost/core/lightweight_test.hpp>
+
+ #include <sstream>
+-
++#include <cstdint>
+
+ template<typename T>
+ using term = boost::yap::terminal<boost::yap::expression, T>;