summaryrefslogtreecommitdiff
path: root/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild')
-rw-r--r--sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild b/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild
index 98fae16e7682..5f961969810b 100644
--- a/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild
+++ b/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=6
-inherit eutils autotools
+inherit autotools
DESCRIPTION="Utility to report status of an HP (Compaq) array controller (both IDA & CCISS)"
HOMEPAGE="http://www.strocamp.net/opensource/arrayprobe.php"
@@ -14,8 +14,12 @@ SLOT="0"
KEYWORDS="amd64 ~ia64 x86"
IUSE=""
+PATCHES=(
+ "${FILESDIR}/${PV}-malloc-strlen.patch"
+ "${FILESDIR}/${PV}-ida_headers.patch"
+)
+
src_prepare() {
- epatch "${FILESDIR}/${PV}-malloc-strlen.patch"
- epatch "${FILESDIR}/${PV}-ida_headers.patch"
+ default
eautoreconf
}