summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2023-02-19 11:29:10 +0800
committerSam James <sam@gentoo.org>2023-02-22 16:13:56 +0000
commit7194f27eeb36d01d5e91bea55711d9cad668c09c (patch)
treefadfb21b5848b5f820bc5bd17db077d68e1fb6f5 /dev-util/hip
parentapp-arch/snappy: build using C++14 dialect (diff)
downloadgentoo-7194f27eeb36d01d5e91bea55711d9cad668c09c.tar.gz
gentoo-7194f27eeb36d01d5e91bea55711d9cad668c09c.tar.bz2
gentoo-7194f27eeb36d01d5e91bea55711d9cad668c09c.zip
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@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29657 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/hip')
-rw-r--r--dev-util/hip/hip-5.1.3-r4.ebuild3
1 files changed, 3 insertions, 0 deletions
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() {