dev-libs/boost-1.87.0-r3: fix compilation on Solaris

backport typos from upstream

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2025-04-17 20:26:42 +02:00
parent 528ba848b9
commit 6d4331edc8
2 changed files with 26 additions and 0 deletions

View File

@@ -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() {

View File

@@ -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