commit:     73f080c60d16838845a962306c50a47a53afbda0
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sat Oct 21 06:35:35 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Nov  1 09:27:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f080c6

dev-libs/rocm-comgr: remove non-FHS license install

Closes: https://github.com/gentoo/gentoo/pull/33436
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../rocm-comgr-5.7.1-correct-license-install-dir.patch   | 16 ++++++++++++++++
 dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild              |  1 +
 2 files changed, 17 insertions(+)

diff --git 
a/dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch 
b/dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch
new file mode 100644
index 000000000000..8ec2c710d3ad
--- /dev/null
+++ 
b/dev-libs/rocm-comgr/files/rocm-comgr-5.7.1-correct-license-install-dir.patch
@@ -0,0 +1,16 @@
+Do not install same license for -asan, which avoids QA warning
+Upstream issue: 
https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/issues/61
+===================================================================
+--- comgr.orig/CMakeLists.txt
++++ comgr/CMakeLists.txt
+@@ -281,10 +281,6 @@ install(FILES
+   "NOTICES.txt"
+   COMPONENT amd-comgr
+   DESTINATION ${CMAKE_INSTALL_DOCDIR})
+-install(FILES
+-  "LICENSE.txt"
+-  COMPONENT asan
+-  DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan)
+ 
+ # Generate the install-tree package.
+ set(AMD_COMGR_PREFIX_CODE "

diff --git a/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild 
b/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild
index dd4856872ff2..ff181f1b4615 100644
--- a/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild
+++ b/dev-libs/rocm-comgr/rocm-comgr-5.7.1.ebuild
@@ -30,6 +30,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.7.0-metadata.patch"
        "${FILESDIR}/${PN}-5.7.0-symbolizer.patch"
        "${FILESDIR}/${PN}-5.7.1-fix-tests.patch"
+       "${FILESDIR}/${PN}-5.7.1-correct-license-install-dir.patch"
 )
 
 DESCRIPTION="Radeon Open Compute Code Object Manager"

Reply via email to