Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 848545 Details for
Bug 888543
sys-apps/portage - PATH mangling breaks dev-util/cmake module lookup on merged-usr
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-util/cmake-3.25.1 add GetRealPath to CollapseFullPath
cmake-3.25.1-realpath.patch (text/plain), 1.54 KB, created by
Jon Daniel
on 2023-01-15 06:55:55 UTC
(
hide
)
Description:
dev-util/cmake-3.25.1 add GetRealPath to CollapseFullPath
Filename:
MIME Type:
Creator:
Jon Daniel
Created:
2023-01-15 06:55:55 UTC
Size:
1.54 KB
patch
obsolete
>diff -burN cmake-3.25.1.orig/Source/kwsys/SystemTools.cxx cmake-3.25.1/Source/kwsys/SystemTools.cxx >--- cmake-3.25.1.orig/Source/kwsys/SystemTools.cxx 2022-11-30 14:57:03.000000000 +0100 >+++ cmake-3.25.1/Source/kwsys/SystemTools.cxx 2023-01-15 02:34:52.419837078 +0100 >@@ -3435,7 +3435,7 @@ > errorMsg = msg.str(); > return false; > } >- pathOut = self; >+ pathOut = SystemTools::GetRealPath(self, &errorMsg); > return true; > } > >@@ -3538,7 +3538,7 @@ > > // Split the input path components. > std::vector<std::string> path_components; >- SystemTools::SplitPath(in_path, path_components); >+ SystemTools::SplitPath(SystemTools::GetRealPath(in_path, nullptr), path_components); > out_components.reserve(path_components.size()); > > // If the input path is relative, start with a base path. >@@ -3547,11 +3547,11 @@ > > if (in_base) { > // Use the given base path. >- SystemTools::SplitPath(*in_base, base_components); >+ SystemTools::SplitPath(SystemTools::GetRealPath(*in_base, nullptr), base_components); > } else { > // Use the current working directory as a base path. > std::string cwd = SystemTools::GetCurrentWorkingDirectory(); >- SystemTools::SplitPath(cwd, base_components); >+ SystemTools::SplitPath(SystemTools::GetRealPath(cwd, nullptr), base_components); > } > > // Append base path components to the output path. >@@ -3589,7 +3589,7 @@ > SystemTools::ConvertToUnixSlashes(newPath); > #endif > // Return the reconstructed path. >- return newPath; >+ return SystemTools::GetRealPath(newPath, nullptr); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 888543
:
844941
|
844943
|
845231
|
848479
|
848489
| 848545 |
848547