commit: 42f8986a7cc14e6fae5a928472c75d8f9dd8fac3 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Feb 2 09:23:07 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Feb 2 09:23:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f8986a
dev-libs/rocm-comgr: Re-add accidentally removed patch Closes: https://bugs.gentoo.org/892914 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/rocm-comgr/files/rocm-comgr-5.0-rocm_path.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-5.0-rocm_path.patch b/dev-libs/rocm-comgr/files/rocm-comgr-5.0-rocm_path.patch new file mode 100644 index 000000000000..6e908847a54f --- /dev/null +++ b/dev-libs/rocm-comgr/files/rocm-comgr-5.0-rocm_path.patch @@ -0,0 +1,14 @@ +Index: comgr/src/comgr-env.cpp +=================================================================== +--- comgr.orig/src/comgr-env.cpp ++++ comgr/src/comgr-env.cpp +@@ -247,6 +247,9 @@ InstallationDetector *getDetectorImpl() + if (EnvROCMPath) { + ROCmInstallPath = EnvROCMPath; + } ++ else { ++ ROCmInstallPath = "@GENTOO_PORTAGE_EPREFIX@/usr"; ++ } + + InstallationDetector *Detector; + if (ROCmInstallPath == "") {
