summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-01-03 17:13:18 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-01-03 17:13:18 -0500
commitda400dec15a2987751259860fea158bf252b3baa (patch)
tree04687e7b0b47d882c00775b911ebca1adddca99c /sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
parentsys-libs/compiler-rt: Remove unused /usr/lib/clang/*/lib lookup (diff)
downloadgentoo-da400dec15a2987751259860fea158bf252b3baa.tar.gz
gentoo-da400dec15a2987751259860fea158bf252b3baa.tar.bz2
gentoo-da400dec15a2987751259860fea158bf252b3baa.zip
sys-block/open-iscsi: use compat <linux/ethtool.h> to build on musl
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-block/open-iscsi/open-iscsi-2.0.874.ebuild')
-rw-r--r--sys-block/open-iscsi/open-iscsi-2.0.874.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
index 61e16f0a7d05..5aea5125c985 100644
--- a/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit versionator linux-info eutils flag-o-matic toolchain-funcs udev
+inherit versionator linux-info flag-o-matic toolchain-funcs udev
DESCRIPTION="A performant, transport independent, multi-platform implementation of RFC3720"
HOMEPAGE="http://www.open-iscsi.org/"
@@ -59,8 +59,9 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-Makefiles.patch
- epatch "${FILESDIR}"/${P}-musl-fixes.patch
+ eapply "${FILESDIR}"/${P}-Makefiles.patch
+ eapply "${FILESDIR}"/${P}-musl-fixes.patch
+ eapply "${FILESDIR}"/${P}-musl-ethtool-compat.patch
eapply_user
sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die