chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / emacs / lisp-subr.el.patch.beforehostbuild
1 diff -u -r ../emacs-25.0.92/lisp/subr.el ./lisp/subr.el
2 --- ../emacs-25.0.92/lisp/subr.el       2016-03-02 05:21:42.000000000 -0500
3 +++ ./lisp/subr.el      2016-03-25 22:03:57.240066240 -0400
4 @@ -2975,7 +2975,7 @@
5    (declare (advertised-calling-convention (name buffer command) "23.1"))
6    (start-file-process
7     name buffer
8 -   (if (file-remote-p default-directory) "/bin/sh" shell-file-name)
9 +   (if (file-remote-p default-directory) "@TERMUX_PREFIX@/bin/sh" shell-file-name)
10     (if (file-remote-p default-directory) "-c" shell-command-switch)
11     (mapconcat 'identity args " ")))
12  
13 @@ -3019,7 +3019,7 @@
14    (declare (advertised-calling-convention
15              (command &optional infile buffer display) "24.5"))
16    (process-file
17 -   (if (file-remote-p default-directory) "/bin/sh" shell-file-name)
18 +   (if (file-remote-p default-directory) "@TERMUX_PREFIX@/bin/sh" shell-file-name)
19     infile buffer display
20     (if (file-remote-p default-directory) "-c" shell-command-switch)
21     (mapconcat 'identity (cons command args) " ")))