commit:     7194f27eeb36d01d5e91bea55711d9cad668c09c
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sun Feb 19 03:29:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 16:13:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7194f27e

dev-util/hip: Fix rocclr hsa.h include bug for 5.1.3

Same as f98177a3fe2ea8cf1818daec64268f9377176902, apply the patch to fix
for rocclr include bug

Closes: https://bugs.gentoo.org/894040
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29657
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/hip/hip-5.1.3-r4.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-util/hip/hip-5.1.3-r4.ebuild b/dev-util/hip/hip-5.1.3-r4.ebuild
index 3ea312756ff5..a8654a3e0568 100644
--- a/dev-util/hip/hip-5.1.3-r4.ebuild
+++ b/dev-util/hip/hip-5.1.3-r4.ebuild
@@ -128,6 +128,9 @@ src_prepare() {
        sed -e 
"/HIP_CLANG_INCLUDE_SEARCH_PATHS/s,\${_IMPORT_PREFIX}.*/include,${CLANG_RESOURCE_DIR}/include,"
 -i hip-lang-config.cmake.in || die
        popd || die
        sed -e 
"/HIP_CLANG_INCLUDE_SEARCH_PATHS/s,\${HIP_CLANG_ROOT}.*/include,${CLANG_RESOURCE_DIR}/include,"
 -i hip-config.cmake.in || die
+
+       pushd ${CLR_S} || die
+       eapply "${FILESDIR}/rocclr-5.3.3-fix-include.patch"
 }
 
 src_configure() {

Reply via email to