commit:     8478a19fa160b05830b88089ded071558c2b3cfa
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Wed Jun 22 12:50:52 2022 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 13:21:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8478a19f

dev-libs/rocr-runtime: re-enable the cmake-install-dir.patch

This partially reverts 1d2b6d182c6d7945ec5166803ca.

Suggested-By: Shunsuke Shimizu, Patrice Levesque
Closes: https://github.com/gentoo/gentoo/pull/26039
Bug: https://bugs.gentoo.org/716948
Closes: https://bugs.gentoo.org/832850
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 ....0_no-sqlprofiler.patch => rocr-runtime-4.3.0_no-aqlprofiler.patch} | 0
 dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild                        | 3 +--
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-sqlprofiler.patch 
b/dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-aqlprofiler.patch
similarity index 100%
rename from dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-sqlprofiler.patch
rename to dev-libs/rocr-runtime/files/rocr-runtime-4.3.0_no-aqlprofiler.patch

diff --git a/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild 
b/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
index 2be1fb23feb6..fc1b4b73bd0a 100644
--- a/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
+++ b/dev-libs/rocr-runtime/rocr-runtime-4.3.0.ebuild
@@ -19,6 +19,7 @@ DESCRIPTION="Radeon Open Compute Runtime"
 HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime";
 PATCHES=(
        "${FILESDIR}/${PN}-4.1.0-cmake-install-paths.patch"
+       "${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch"
 )
 
 LICENSE="MIT"
@@ -33,8 +34,6 @@ DEPEND="${COMMON_DEPEND}
 BDEPEND="app-editors/vim-core"
        # vim-core is needed for "xxd"
 
-PATCHES=( "${FILESDIR}"/${PN}-4.3.0_no-sqlprofiler.patch )
-
 src_prepare() {
        # ... otherwise system llvm/clang is used ...
        sed -e "s:find_package(Clang REQUIRED HINTS 
\${CMAKE_INSTALL_PREFIX}/llvm \${CMAKE_PREFIX_PATH}/llvm PATHS /opt/rocm/llvm 
):find_package(Clang REQUIRED HINTS ${EPREFIX}/usr/lib/llvm/roc ):" -i 
image/blit_src/CMakeLists.txt || die

Reply via email to