commit: 6d4331edc8b9e1f439aefdedb5db35fbf0c1c669
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 17 18:26:42 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Apr 17 18:31:19 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d4331ed
dev-libs/boost-1.87.0-r3: fix compilation on Solaris
backport typos from upstream
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
dev-libs/boost/boost-1.87.0-r3.ebuild | 1 +
dev-libs/boost/files/boost-1.87.0-solaris.patch | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/dev-libs/boost/boost-1.87.0-r3.ebuild
b/dev-libs/boost/boost-1.87.0-r3.ebuild
index fd197c65f52f..2065285a40ca 100644
--- a/dev-libs/boost/boost-1.87.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.87.0-r3.ebuild
@@ -53,6 +53,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.87.0-move.patch
"${FILESDIR}"/${PN}-1.87.0-smart_ptr-operator.patch
"${FILESDIR}"/${PN}-1.87.0-thread-typo.patch
+ "${FILESDIR}"/${PN}-1.87.0-solaris.patch
)
create_user-config.jam() {
diff --git a/dev-libs/boost/files/boost-1.87.0-solaris.patch
b/dev-libs/boost/files/boost-1.87.0-solaris.patch
new file mode 100644
index 000000000000..f0c8f9fbfe63
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.87.0-solaris.patch
@@ -0,0 +1,25 @@
+for Solaris, part from upstream commit
+https://github.com/boostorg/process/commit/bb375f50bd5b362b087aab326df158a440882e29
+
+--- boost_1_87_0/libs/process/src/ext/cwd.cpp
++++ boost_1_87_0/libs/process/src/ext/cwd.cpp
+@@ -124,7 +124,7 @@
+ filesystem::path("/proc") / std::to_string(pid) / "cwd", ec
+ );
+ #elif defined(__sun)
+- return fileystem::canonical(
++ return filesystem::canonical(
+ filesystem::path("/proc") / std::to_string(pid) / "path/cwd", ec
+ );
+ #endif
+--- boost_1_87_0/libs/process/src/ext/exe.cpp
++++ boost_1_87_0/libs/process/src/ext/exe.cpp
+@@ -138,7 +138,7 @@
+ 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