From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 756CB15802F for ; Fri, 10 Mar 2023 11:41:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0718CE0863; Fri, 10 Mar 2023 11:41:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB3B2E0863 for ; Fri, 10 Mar 2023 11:41:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4FC8335D58 for ; Fri, 10 Mar 2023 11:41:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBBAD8DE for ; Fri, 10 Mar 2023 11:40:59 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1678448447.d3293edd9d5c257f5e37316abfd7936ece0f6d4c.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmMatrix/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/wmMatrix/wmMatrix-0.2-r2.ebuild X-VCS-Directories: x11-plugins/wmMatrix/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: d3293edd9d5c257f5e37316abfd7936ece0f6d4c X-VCS-Branch: master Date: Fri, 10 Mar 2023 11:40:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 21652753-d562-46d1-ad0a-8dae2aeb4604 X-Archives-Hash: f280f2c2e46e5c331cc5ce77fa907226 commit: d3293edd9d5c257f5e37316abfd7936ece0f6d4c Author: Bernard Cafarelli gentoo org> AuthorDate: Fri Mar 10 11:40:28 2023 +0000 Commit: Bernard Cafarelli gentoo 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 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