From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- x11-misc/xssstate/xssstate-1.1.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'x11-misc/xssstate/xssstate-1.1.ebuild') diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild index 311c55ab00f7..0dbd9da68b15 100644 --- a/x11-misc/xssstate/xssstate-1.1.ebuild +++ b/x11-misc/xssstate/xssstate-1.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils 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 } -- cgit v1.2.3