commit:     c16e66300872d7d2bcd6726ed97529665a6a31fc
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Oct 17 09:25:51 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 14:31:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16e6630

dev-libs/rocm-comgr: restore rocm-comgr-6.3.2-rocm_path.patch

Fixes: eec258ed051320629c4c74f24ba56ca7eb33de94
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44218
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/rocm-comgr/files/rocm-comgr-6.3.2-rocm_path.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-6.3.2-rocm_path.patch 
b/dev-libs/rocm-comgr/files/rocm-comgr-6.3.2-rocm_path.patch
new file mode 100644
index 000000000000..14b1d12148f7
--- /dev/null
+++ b/dev-libs/rocm-comgr/files/rocm-comgr-6.3.2-rocm_path.patch
@@ -0,0 +1,14 @@
+Index: comgr/src/comgr-env.cpp
+===================================================================
+--- comgr.orig/src/comgr-env.cpp
++++ comgr/src/comgr-env.cpp
+@@ -269,6 +269,9 @@ InstallationDetector *getDetectorImpl()
+   if (EnvROCMPath) {
+     ROCmInstallPath = EnvROCMPath;
+   }
++  else {
++      ROCmInstallPath = "@GENTOO_PORTAGE_EPREFIX@/usr";
++  }
+ 
+   InstallationDetector *Detector;
+   if (ROCmInstallPath == "") {

Reply via email to