summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-20 02:41:47 +0100
committerSam James <sam@gentoo.org>2021-04-20 02:42:29 +0100
commit3a13490f6b62457937267a4fbec23ab9b25e711b (patch)
tree7a9538963e6cb511663c0546c1fbeaaaa35eef0a /x11-misc/whaw
parentx11-misc/xdock: port to EAPI 7 (diff)
downloadgentoo-3a13490f6b62457937267a4fbec23ab9b25e711b.tar.gz
gentoo-3a13490f6b62457937267a4fbec23ab9b25e711b.tar.bz2
gentoo-3a13490f6b62457937267a4fbec23ab9b25e711b.zip
x11-misc/whaw: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/whaw')
-rw-r--r--x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch4
-rw-r--r--x11-misc/whaw/whaw-0.2.ebuild11
2 files changed, 6 insertions, 9 deletions
diff --git a/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch b/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch
index 155233b4b183..6a7ec0084661 100644
--- a/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch
+++ b/x11-misc/whaw/files/whaw-0.2-fix-implicit-declaration-warning.patch
@@ -1,5 +1,5 @@
---- whaw.c.orig 2014-05-15 12:11:22.404504530 +0400
-+++ whaw.c 2014-05-15 12:11:43.004506325 +0400
+--- a/whaw.c
++++ b/whaw.c
@@ -5,6 +5,7 @@
#include <X11/cursorfont.h>
#include <X11/extensions/Xinerama.h>
diff --git a/x11-misc/whaw/whaw-0.2.ebuild b/x11-misc/whaw/whaw-0.2.ebuild
index 1ce1370b7a20..6987e7948287 100644
--- a/x11-misc/whaw/whaw-0.2.ebuild
+++ b/x11-misc/whaw/whaw-0.2.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-
-inherit epatch
+EAPI=7
DESCRIPTION="Window manager independent Window Layout tool"
HOMEPAGE="http://repetae.net/computer/whaw/"
@@ -20,7 +18,6 @@ RDEPEND="dev-libs/popt
"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}/${P}-fix-implicit-declaration-warning.patch"
- epatch_user
-}
+PATCHES=(
+ "${FILESDIR}/${P}-fix-implicit-declaration-warning.patch"
+)