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 D8158158020 for ; Sun, 20 Nov 2022 08:20:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD596E0A43; Sun, 20 Nov 2022 08:20:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5465CE0A43 for ; Sun, 20 Nov 2022 08:20:54 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57DE6341350 for ; Sun, 20 Nov 2022 08:20:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2A58756 for ; Sun, 20 Nov 2022 08:20:51 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1668932197.4818de7348b27c11ecc3a9ff68bc97eb5b75030e.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virtualbox/virtualbox-7.0.4.ebuild X-VCS-Directories: app-emulation/virtualbox/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 4818de7348b27c11ecc3a9ff68bc97eb5b75030e X-VCS-Branch: master Date: Sun, 20 Nov 2022 08:20:51 +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: fbfdcd0d-8324-4047-97fd-2ada54ddc7db X-Archives-Hash: 82cf555679f660f685317d7563a2f599 commit: 4818de7348b27c11ecc3a9ff68bc97eb5b75030e Author: Viorel Munteanu gentoo org> AuthorDate: Tue Nov 8 17:56:31 2022 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sun Nov 20 08:16:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4818de73 app-emulation/virtualbox: fix wrong message about modules Replace `/etc/init.d/vboxdrv setup` with `emerge -1 virtualbox-modules` Closes: https://bugs.gentoo.org/489208 Signed-off-by: Viorel Munteanu gentoo.org> app-emulation/virtualbox/virtualbox-7.0.4.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app-emulation/virtualbox/virtualbox-7.0.4.ebuild b/app-emulation/virtualbox/virtualbox-7.0.4.ebuild index 52822b428dc3..19b135f43be7 100644 --- a/app-emulation/virtualbox/virtualbox-7.0.4.ebuild +++ b/app-emulation/virtualbox/virtualbox-7.0.4.ebuild @@ -309,6 +309,11 @@ src_prepare() { -e 's/←/\←/g' \ -e 's/→/\→/g' \ -e 's/↔/\↔/g' {} \+ || die + + # 489208 + # Cannot patch the whole text, many translations. Use sed instead to replace the command + find src/VBox/Frontends/VirtualBox/nls -name \*.ts -exec sed -i 's/'[^&]*\(vboxdrv setup\|vboxconfig\)'/\'emerge -1 virtualbox-modules\'/' {} \+ || die + sed -i "s:'/sbin/vboxconfig':'emerge -1 virtualbox-modules':" src/VBox/Frontends/VirtualBox/src/main.cpp src/VBox/VMM/VMMR3/VM.cpp } src_configure() {