summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/alock/alock-1.0.0.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/x11-misc/alock/alock-1.0.0.ebuild b/x11-misc/alock/alock-1.0.0.ebuild
index cdbbba3dd5be..a0e77239d2d5 100644
--- a/x11-misc/alock/alock-1.0.0.ebuild
+++ b/x11-misc/alock/alock-1.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,14 +25,13 @@ DEPEND="x11-libs/libX11
doc? ( app-text/asciidoc )"
RDEPEND="${DEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/implicit_pointer_conversion_fix_amd64.patch
- epatch "${FILESDIR}"/check-setuid.patch
- epatch "${FILESDIR}"/tidy-printf.patch
- epatch "${FILESDIR}"/fix-aliasing.patch
- epatch "${FILESDIR}"/no-xf86misc.patch
- eapply_user
-}
+PATCHES=(
+ "${FILESDIR}"/implicit_pointer_conversion_fix_amd64.patch
+ "${FILESDIR}"/check-setuid.patch
+ "${FILESDIR}"/tidy-printf.patch
+ "${FILESDIR}"/fix-aliasing.patch
+ "${FILESDIR}"/no-xf86misc.patch
+)
src_configure() {
tc-export CC