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

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 14 Sep 2024 14:34:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 73252 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73252; Package guix-patches. (Sat, 14 Sep 2024 14:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 14 Sep 2024 14:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH core-updates] gnu: git-minimal: Patch 'sh' command in
 git-send-email script.
Date: Sat, 14 Sep 2024 23:32:56 +0900
* 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





This bug report was last modified 271 days ago.

Previous Next


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