GNU bug report logs - #73252
[PATCH core-updates] gnu: git-minimal: Patch 'sh' command in git-send-email script.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; Keywords: patch; dated Sat, 14 Sep 2024 14:34:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Sep 2024 14:33:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 14 10:33:51 2024
Received: from localhost ([127.0.0.1]:47558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1spTqQ-0002Bo-Tc
	for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 10:33:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:46578)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1spTqP-0002Be-9y
 for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 10:33:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1spTqE-00067H-F2
 for guix-patches@HIDDEN; Sat, 14 Sep 2024 10:33:38 -0400
Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1spTqD-0004VA-2H
 for guix-patches@HIDDEN; Sat, 14 Sep 2024 10:33:38 -0400
Received: by mail-pf1-x436.google.com with SMTP id
 d2e1a72fcca58-7179069d029so1497764b3a.2
 for <guix-patches@HIDDEN>; Sat, 14 Sep 2024 07:33:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1726324414; x=1726929214; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=tZt4gTnkMJwvRNPdGUgVI8PFTmXf8QWc/2J1JP/fo18=;
 b=iv+TvSsZtFWejVYV+vuI24n9eGOT5lQ3IHwpEdTanxmMqzw4vjNFZb9DRhiPEU7n40
 xQrbCm+/IjN+8LUqeNdcAZf7OWPt3A892T0oQelCjEGMJjuzNf0Pcp4KQuaeFeF766NG
 HkdSMQZB9FGIOF8tr3GQsfQzkwWrY0qtsF2KaPM6VTEJoHPrPz4MVsPgQRAh8+m5+HuI
 ojTemJ81QJDk0J9FfNk5/v4Z5qHsT7pVT9sHSGEsZSYZfqlVV12m7Y8FbiMhM/DwYsbv
 TQP5N6MQBZ07vUlwe3jtt6DwSd+whZEKQfZHHQnKIvgp7YZ5KbomXd3LigEGSyldAc3V
 pB2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1726324414; x=1726929214;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=tZt4gTnkMJwvRNPdGUgVI8PFTmXf8QWc/2J1JP/fo18=;
 b=Hr8fcJZ1CriyVmSS7g4WZFQdXJa6Mit3F87iUJAAbnXG6qqkXA6QadBa7H4IgZl+pe
 KrZVhpV5fE141F8s/RgezmhX58D+Bj82uAHqJ4pRMRTpLIh6CIj98u99DH3hzSjJ840f
 +KW9kBjGulh48Fi6wHFAzEm7UZjQB0gYCtW3AoU+U39jSr5tx2ARhVZxdy9OVMhctOJf
 wvzU92Mt5pjLw9BCDpwHKZ+fIkPZjPRaUzfaJkj6VYMm8IS2FNjv8mhnAA6O5HmB/3s5
 NCqC9qRtdD0j9i4S+QuUC3wdaHwuIpk939udYxEI5qZ4RJWb4Qocbu5a8KM2CZirum3C
 NCNw==
X-Gm-Message-State: AOJu0YxkDQ6jtDfn9RdH3Yab443lu1a87lzp7OgzBukFJWJBATLOsoB9
 rKTXSKpqQ3l8fiz2rNWVgz1Y5/99EjIIA6Po/IjoRkA+ZG5icKckAqreCtvC
X-Google-Smtp-Source: AGHT+IGDb6G5c8TUK+POz2iXNHoLr49tAGiHr/Dtn6k2+hlfdgXTnKpI8RcBcc1s7DRLrEq+28Y0tw==
X-Received: by 2002:a05:6a00:3ccf:b0:717:8489:6318 with SMTP id
 d2e1a72fcca58-71936a4d6b6mr9525333b3a.10.1726324414136; 
 Sat, 14 Sep 2024 07:33:34 -0700 (PDT)
Received: from hurd.lan ([2405:6586:be0:0:c8ff:1707:9b9:af89])
 by smtp.gmail.com with ESMTPSA id
 41be03b00d2f7-7db499a1c6csm1210324a12.91.2024.09.14.07.33.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 14 Sep 2024 07:33:33 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH core-updates] gnu: git-minimal: Patch 'sh' command in
 git-send-email script.
Date: Sat, 14 Sep 2024 23:32:56 +0900
Message-ID: <61756e44d4cc91e285ee94a716a8abf64e6bb2fb.1726324376.git.maxim.cournoyer@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::436;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-pf1-x436.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* gnu/packages/version-control.scm (git-minimal)
[phases] <patch-commands>: Extend to patch 'sh' command in
git-send-email.perl.

Change-Id: Ie60d206a4ab33cd894c8bfb6c20d12f52654707c
---

This causes a rebuild of GTK+ and all its dependents.

 gnu/packages/version-control.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 852879901a..b7fa5b0f0b 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -366,7 +366,12 @@ (define-public git-minimal
                 (("\\$\\(basename")
                  (string-append "$(" (search-input-file inputs "bin/basename")))
                 (("sed -e")
-                 (string-append (search-input-file inputs "bin/sed") " -e")))))
+                 (string-append (search-input-file inputs "bin/sed") " -e")))
+
+              ;; git-send-email invokes the editor via 'sh'; patch it.
+              (substitute* "git-send-email.perl"
+                (("'sh'")
+                 (format #f "'~a'" (search-input-file inputs "bin/sh"))))))
           (add-after 'configure 'patch-makefiles
             (lambda _
               (substitute* "Makefile"

base-commit: 258aab2c9b3cf320fc025c282934f215a0d9ea3e
-- 
2.46.0





Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#73252; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.