From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/, dev-libs/roct-thunk-interface/files/
Date: Thu, 8 Aug 2019 18:14:32 +0000 (UTC) [thread overview]
Message-ID: <1565288065.9b35dbfd4ddff447d1095ddd4a93137077954b78.candrews@gentoo> (raw)
commit: 9b35dbfd4ddff447d1095ddd4a93137077954b78
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 8 18:13:43 2019 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Aug 8 18:14:25 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b35dbfd
dev-libs/roct-thunk-interface: do not install Linux kernel headers
Closes: https://bugs.gentoo.org/691714
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
...nterface-2.6.0-do-not-install-kfd_ioctl.h.patch | 25 ++++++++++++++++++++++
.../roct-thunk-interface-2.6.0.ebuild | 1 +
2 files changed, 26 insertions(+)
diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-do-not-install-kfd_ioctl.h.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-do-not-install-kfd_ioctl.h.patch
new file mode 100644
index 00000000000..711c16f852e
--- /dev/null
+++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-do-not-install-kfd_ioctl.h.patch
@@ -0,0 +1,25 @@
+https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/42
+
+From 9090559aad755bf2b5041fb617c3ddf790c7cdf6 Mon Sep 17 00:00:00 2001
+From: Craig Andrews <candrews@integralblue.com>
+Date: Thu, 8 Aug 2019 14:01:04 -0400
+Subject: [PATCH] hsakmt-dev should not install linux kernel headers
+
+hsakmt-dev should not install include/linux/* (currently just kfd_ioctl.h) as those are linux kernel headers provided by the linux kernel header packages (`linux-headers-*` on Debian/Ubuntu or `kernel-headers-*` on Red Hat / Fedora)
+---
+ hsakmt-dev.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hsakmt-dev.txt b/hsakmt-dev.txt
+index eb0d3e2..6af364c 100644
+--- a/hsakmt-dev.txt
++++ b/hsakmt-dev.txt
+@@ -44,7 +44,7 @@ set ( CMAKE_VERBOSE_MAKEFILE on )
+
+ ## Set the install targets
+ install ( FILES libhsakmt.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig )
+-install ( DIRECTORY ${SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${HSAKMT_COMPONENT} )
++install ( DIRECTORY ${SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${HSAKMT_COMPONENT} PATTERN "linux" EXCLUDE )
+
+
+ ## Set the default generator types for the devel package.
diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-2.6.0.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-2.6.0.ebuild
index 8968eaaf965..fadf20cce25 100644
--- a/dev-libs/roct-thunk-interface/roct-thunk-interface-2.6.0.ebuild
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-2.6.0.ebuild
@@ -17,6 +17,7 @@ PATCHES=(
"${FILESDIR}/${P}-correctly-install.patch"
"${FILESDIR}/${P}-correctly-install-pc.patch"
"${FILESDIR}/${P}-pc-prefix.patch"
+ "${FILESDIR}/${P}-do-not-install-kfd_ioctl.h.patch"
)
DESCRIPTION="Radeon Open Compute Thunk Interface"
next reply other threads:[~2019-08-08 18:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 18:14 Craig Andrews [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-09 12:34 [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/, dev-libs/roct-thunk-interface/files/ 罗百科
2023-12-23 10:43 罗百科
2024-03-10 2:16 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1565288065.9b35dbfd4ddff447d1095ddd4a93137077954b78.candrews@gentoo \
--to=candrews@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox