commit: d3293edd9d5c257f5e37316abfd7936ece0f6d4c Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Fri Mar 10 11:40:28 2023 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Fri Mar 10 11:40:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3293edd
x11-plugins/wmMatrix: use real usleep() Closes: https://bugs.gentoo.org/898924 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild b/x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild index 5b686f451ee5..9106a1b5129e 100644 --- a/x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild +++ b/x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,6 +27,12 @@ PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) +src_prepare() { + default + # Use real usleep on modern systems + sed -e "s/short_uusleep/usleep/" -i wmMatrix.c || die +} + src_compile() { # this version is distributed with compiled binaries! make clean
