From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58526138334 for ; Thu, 8 Aug 2019 18:14:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E5D9E07B3; Thu, 8 Aug 2019 18:14:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56836E07B3 for ; Thu, 8 Aug 2019 18:14:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7A323496AF for ; Thu, 8 Aug 2019 18:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CC8873C for ; Thu, 8 Aug 2019 18:14:32 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1565288065.9b35dbfd4ddff447d1095ddd4a93137077954b78.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/, dev-libs/roct-thunk-interface/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-do-not-install-kfd_ioctl.h.patch dev-libs/roct-thunk-interface/roct-thunk-interface-2.6.0.ebuild X-VCS-Directories: dev-libs/roct-thunk-interface/files/ dev-libs/roct-thunk-interface/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 9b35dbfd4ddff447d1095ddd4a93137077954b78 X-VCS-Branch: master Date: Thu, 8 Aug 2019 18:14:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3bcfbcd9-16ff-4d51-89f7-69a8e92195d7 X-Archives-Hash: 73cbec7c6a195f3111d9ef7a57e765d0 commit: 9b35dbfd4ddff447d1095ddd4a93137077954b78 Author: Craig Andrews gentoo org> AuthorDate: Thu Aug 8 18:13:43 2019 +0000 Commit: Craig Andrews gentoo 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 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 +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"