aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-06-27 14:49:19 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-06-27 18:33:14 +0000
commitf9b30321622f332bb2a6b1986dc44a068218c9b8 (patch)
treed8bc1a522ad1d2524518c4f9cdec5311278b11b7 /devel
parent19f40abed22eb49144a6f2d1e541cc822192d49c (diff)
Diffstat (limited to 'devel')
-rw-r--r--devel/boost-libs/Makefile2
-rw-r--r--devel/boost-libs/files/patch-boost_dll_detail_posix_program__location__impl.hpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index bd26f416fc1b..819a0fef24d3 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= boost-libs
-PORTREVISION?= 0
+PORTREVISION?= 1
COMMENT= Free portable C++ libraries (without Boost.Python)
WWW= https://www.boost.org/
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);
+