summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xssstate/xssstate-1.1.ebuild')
-rw-r--r--x11-misc/xssstate/xssstate-1.1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild
index 194e85aa60ed..0dbd9da68b15 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit epatch toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="A simple tool to retrieve the X screensaver state"
HOMEPAGE="https://tools.suckless.org/x/xssstate"
@@ -11,7 +12,6 @@ SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
x11-libs/libX11
@@ -22,8 +22,13 @@ DEPEND="
x11-base/xorg-proto
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+ default
+
tc-export CC
}