summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild8
1 files changed, 7 insertions, 1 deletions
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