unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 55cecab590aafb078962b40c10a8d128959910c6 648 bytes (raw)
name: gnu/packages/patches/subversion-propagate-env-to-hooks.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
* Hooks need to inherit environment variables such as PATH, otherwise simple
  things like `ls` might fail in a hook.

--- subversion-1.7.18/subversion/libsvn_repos/hooks.c	2011-07-26 11:48:50.000000000 -0500
+++ subversion-1.7.18/subversion/libsvn_repos/hooks.c	2014-09-27 11:53:37.444830624 -0500
@@ -196,7 +196,7 @@
             (apr_err, _("Can't create null stdout for hook '%s'"), cmd);
     }
 
-  err = svn_io_start_cmd2(&cmd_proc, ".", cmd, args, FALSE,
+  err = svn_io_start_cmd2(&cmd_proc, ".", cmd, args, TRUE,
                           FALSE, stdin_handle, result != NULL, null_handle,
                           TRUE, NULL, pool);
 

debug log:

solving 55cecab ...
found 55cecab in https://yhetil.org/guix-devel/1416548468-28421-2-git-send-email-bavier@member.fsf.org/

applying [1/1] https://yhetil.org/guix-devel/1416548468-28421-2-git-send-email-bavier@member.fsf.org/
diff --git a/gnu/packages/patches/subversion-propagate-env-to-hooks.patch b/gnu/packages/patches/subversion-propagate-env-to-hooks.patch
new file mode 100644
index 0000000..55cecab

1:15: trailing whitespace.
 
1:20: trailing whitespace.
 
Checking patch gnu/packages/patches/subversion-propagate-env-to-hooks.patch...
1:20: new blank line at EOF.
+
Applied patch gnu/packages/patches/subversion-propagate-env-to-hooks.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 55cecab590aafb078962b40c10a8d128959910c6	gnu/packages/patches/subversion-propagate-env-to-hooks.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).