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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C9E8D1382C5 for ; Sat, 6 Feb 2021 20:45:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B9EFE0828; Sat, 6 Feb 2021 20:45:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7550E0828 for ; Sat, 6 Feb 2021 20:45:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3E5B343536 for ; Sat, 6 Feb 2021 20:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F21B46F for ; Sat, 6 Feb 2021 20:45:45 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1612643933.10cbdd8b9b6be5244678b7f9d5cbed118c41906a.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch X-VCS-Directories: sys-devel/bc/files/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 10cbdd8b9b6be5244678b7f9d5cbed118c41906a X-VCS-Branch: master Date: Sat, 6 Feb 2021 20:45:45 +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: 38d29502-0845-4098-83cd-dd2ba0a5e150 X-Archives-Hash: f050fbf5221588a1b03630d8f25a5b73 commit: 10cbdd8b9b6be5244678b7f9d5cbed118c41906a Author: Patrick Steinhardt pks im> AuthorDate: Thu Feb 4 15:26:05 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Feb 6 20:38:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10cbdd8b sys-devel/bc: fix building with locked account The build of bc fails when building it with a user whose shell is set to `/sbin/nologin`. The root cause is that the "fix-libmath_h" script does not have a shebang, so it'll instead just use the user's configured shell. Fix this issue by patching the script to have a shebang. Signed-off-by: Patrick Steinhardt pks.im> Signed-off-by: Mike Gilbert gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/19320 sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch b/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch index ce8e456186b..2fc7519191f 100644 --- a/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch +++ b/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch @@ -6,8 +6,9 @@ to use sed instead of ed. the changes are straight forward: --- a/bc/fix-libmath_h +++ b/bc/fix-libmath_h -@@ -1,9 +1,6 @@ +@@ -1,9 +1,7 @@ -ed libmath.h <