diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-02 10:23:07 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-02 10:23:27 +0100 |
commit | 42f8986a7cc14e6fae5a928472c75d8f9dd8fac3 (patch) | |
tree | d9d0d0c6b7d38541b9a747912823bb043e0dcbfc /dev-libs/rocm-comgr | |
parent | dev-ada/xmlada: update EAPI 7 -> 8 (diff) | |
download | gentoo-42f8986a7cc14e6fae5a928472c75d8f9dd8fac3.tar.gz gentoo-42f8986a7cc14e6fae5a928472c75d8f9dd8fac3.tar.bz2 gentoo-42f8986a7cc14e6fae5a928472c75d8f9dd8fac3.zip |
dev-libs/rocm-comgr: Re-add accidentally removed patch
Closes: https://bugs.gentoo.org/892914
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/rocm-comgr')
-rw-r--r-- | dev-libs/rocm-comgr/files/rocm-comgr-5.0-rocm_path.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 == "") { |