diff options
author | 2019-08-08 14:13:43 -0400 | |
---|---|---|
committer | 2019-08-08 14:14:25 -0400 | |
commit | 9b35dbfd4ddff447d1095ddd4a93137077954b78 (patch) | |
tree | 8faea0893b69b97136318140a954ed61676da1e1 /dev-libs/roct-thunk-interface | |
parent | www-client/firefox: Cannot use USE=wayland when USE=pgo (diff) | |
download | gentoo-9b35dbfd4ddff447d1095ddd4a93137077954b78.tar.gz gentoo-9b35dbfd4ddff447d1095ddd4a93137077954b78.tar.bz2 gentoo-9b35dbfd4ddff447d1095ddd4a93137077954b78.zip |
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@gentoo.org>
Diffstat (limited to 'dev-libs/roct-thunk-interface')
-rw-r--r-- | dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-do-not-install-kfd_ioctl.h.patch | 25 | ||||
-rw-r--r-- | dev-libs/roct-thunk-interface/roct-thunk-interface-2.6.0.ebuild | 1 |
2 files changed, 26 insertions, 0 deletions
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 000000000000..711c16f852e0 --- /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 8968eaaf9659..fadf20cce25d 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" |