aboutsummaryrefslogtreecommitdiffstats
path: root/main/make/make-3.82-weird-shell.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-11 07:35:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-11 15:04:40 +0000
commita52c9d823621e469d6052aac1f4aab74cce1fe10 (patch)
tree7e77924beff0ce35b9d617cb2b4e49044bcea18e /main/make/make-3.82-weird-shell.patch
parent57c239705f8015256d026af6b5d5f7651757d9bd (diff)
downloadaports-a52c9d823621e469d6052aac1f4aab74cce1fe10.tar.bz2
aports-a52c9d823621e469d6052aac1f4aab74cce1fe10.tar.xz
main/make: apply various patches
various patches from upstream, gentoo or fedora
Diffstat (limited to 'main/make/make-3.82-weird-shell.patch')
-rw-r--r--main/make/make-3.82-weird-shell.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/make/make-3.82-weird-shell.patch b/main/make/make-3.82-weird-shell.patch
new file mode 100644
index 0000000000..dfdaf89c9e
--- /dev/null
+++ b/main/make/make-3.82-weird-shell.patch
@@ -0,0 +1,16 @@
+diff -up make-3.82/job.c\~ make-3.82/job.c
+--- make-3.82/job.c~ 2010-08-11 16:13:33.000000000 +0200
++++ make-3.82/job.c 2010-08-12 14:20:08.000000000 +0200
+@@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
+
+ /* See if it is safe to parse commands internally. */
+ if (shell == 0)
+- shell = default_shell;
++ {
++ shell = default_shell;
++ if (shellflags == 0)
++ shellflags = "-c";
++ }
+ #ifdef WINDOWS32
+ else if (strcmp (shell, default_shell))
+ {