mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/rocr-runtime: fix compilation with gcc-15
Apply the same patch as for 6.3.0. Closes: https://bugs.gentoo.org/947640 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40027 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -24,6 +24,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.7.1-extend-isa-compatibility-check.patch"
|
||||
"${FILESDIR}/${PN}-6.1.0-musl.patch"
|
||||
"${FILESDIR}/${PN}-6.1.0-ld-lld.patch"
|
||||
"${FILESDIR}/${PN}-6.1.2-gcc15-stdint.patch"
|
||||
)
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -47,7 +47,7 @@ src_prepare() {
|
||||
cd "${S}/runtime/hsa-runtime" || die
|
||||
eapply "${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch"
|
||||
eapply "${FILESDIR}/${PN}-5.7.1-extend-isa-compatibility-check.patch"
|
||||
eapply "${FILESDIR}/${PN}-6.2.2-gcc15-stdint.patch"
|
||||
eapply "${FILESDIR}/${PN}-6.1.2-gcc15-stdint.patch"
|
||||
|
||||
# Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ...
|
||||
sed -e "s:-O2:--rocm-path=${EPREFIX}/usr/lib/ -O2:" -i image/blit_src/CMakeLists.txt || die
|
||||
|
||||
Reference in New Issue
Block a user