diff options
Diffstat (limited to 'devel/boost-libs')
-rw-r--r-- | devel/boost-libs/Makefile | 2 | ||||
-rw-r--r-- | devel/boost-libs/files/patch-boost_dll_detail_posix_program__location__impl.hpp | 11 |
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); + |