summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-09-13 14:32:10 -0700
committerZac Medico <zmedico@gentoo.org>2017-09-13 14:33:14 -0700
commitab73b622b45fba34011698d592849e1d3b1a62f5 (patch)
tree56a98790c4a0a2ce28701924d84809cfccdf8926 /dev-util/bcc
parentsys-kernel/vanilla-sources: Version bump to 4.9.50 (diff)
downloadgentoo-ab73b622b45fba34011698d592849e1d3b1a62f5.tar.gz
gentoo-ab73b622b45fba34011698d592849e1d3b1a62f5.tar.bz2
gentoo-ab73b622b45fba34011698d592849e1d3b1a62f5.zip
dev-util/bcc: patch 0.3.0 for llvm-5 (bug 630778)
Closes: https://bugs.gentoo.org/630778 Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-util/bcc')
-rw-r--r--dev-util/bcc/Manifest1
-rw-r--r--dev-util/bcc/bcc-0.3.0.ebuild7
2 files changed, 7 insertions, 1 deletions
diff --git a/dev-util/bcc/Manifest b/dev-util/bcc/Manifest
index 1e2f43b1caf6..6ba6ace6d73c 100644
--- a/dev-util/bcc/Manifest
+++ b/dev-util/bcc/Manifest
@@ -1,2 +1,3 @@
DIST bcc-0.2.0.tar.gz 1195653 SHA256 8bdea41286dda0605e3e52fc76d345356dc637434935a112e6378e2dcb439a70 SHA512 edb696a5382e2f56d06e6b8b65c37b50e719da944fbce43cbad116c773e759fb51837d57ae3d159d83a489dfd0254b9f50b97dab7116465d57f787cf50d58808 WHIRLPOOL ffa4b47dbb16a73699176bd2926763588c6f5ed73052d58ce8f9c51af1eba82c73ac541458b34d6fbd8cd9b698b37bfedc9c9f312967ce639f45daf4789138b2
+DIST bcc-0.3.0-llvm5-76887992d786064213af87694d2a21745e579338.patch 2600 SHA256 e7bf9b9b46a339431bf272a2f8d19c5977db69a36f1f374c73ef2f95a5d1a3a3 SHA512 1b5330a5a8bb8d7152130e5f2acbd5b3f7cad42cc519ff51312792d529a37eae76881eb1fae74c637de4fab35b5a0d33df7ca2bb55e65daac6b54b08c7037286 WHIRLPOOL 841628d3525429f00dc0a767e9a953702bbaf20fd6a8164d9bf3ee909272ca25a700c965fdb0fcb8de99a43b8d8de9eb8414caaf84239e31f55809d120bf7e6e
DIST bcc-0.3.0.tar.gz 1645152 SHA256 88f54dff96c30c6e7b45f475938eef790b1c9485f794b1ac6791c4e56007f7cc SHA512 e5a0f9ad1b0ba865b5644a5a4a0ad130708aac882239ed545bcfd74a5d80328361bc92287bad5569710849682501841e89279089efc71a97da4e02bfc709b916 WHIRLPOOL fb06e4bd7e5ffbee104b5ad4d6e6a9004fc77dccf9f9cdebfa16741c899ce16c0154d6700f9eb6f8754c90da69eeb17ac9a3e878b5f75965dbccd13f6ad35abb
diff --git a/dev-util/bcc/bcc-0.3.0.ebuild b/dev-util/bcc/bcc-0.3.0.ebuild
index 0e8e32826953..4c73ab15df1c 100644
--- a/dev-util/bcc/bcc-0.3.0.ebuild
+++ b/dev-util/bcc/bcc-0.3.0.ebuild
@@ -10,7 +10,8 @@ inherit cmake-utils linux-info python-single-r1 python-utils-r1
DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more"
HOMEPAGE="https://iovisor.github.io/bcc/"
EGIT_COMMIT="v${PV}"
-SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/iovisor/bcc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/iovisor/bcc/commit/76887992d786064213af87694d2a21745e579338.patch -> bcc-0.3.0-llvm5-76887992d786064213af87694d2a21745e579338.patch"
RESTRICT="test"
LICENSE="Apache-2.0"
@@ -26,6 +27,10 @@ RDEPEND=">=dev-libs/elfutils-0.166:=
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${EGIT_COMMIT#v}
+PATCHES=(
+ "${DISTDIR}/bcc-0.3.0-llvm5-76887992d786064213af87694d2a21745e579338.patch"
+)
+
pkg_pretend() {
local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF
~BPF_JIT ~BPF_EVENTS"