Dash:
[t2.git] / package / printing / lprng / make-3.81.patch
blobd648473ed99ad6eeba6e8d664ed5af3c5cb718d6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../lprng/make-3.81.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 For some reason the latest make (3.81) invokes the shell via a child make
18 instance when the SHELL variable is set to a quoted string and thus messes
19 up quoting:
21 execve("/usr/bin/make", ["make", "testme"], [/* 22 vars */]) = 0
22 -execve("/bin/sh", ["/bin/sh", "-c", "for x in a b c ; do \\\n echo \"$"...],
23 [/* 25 vars */]) = 0
24 +execve("/bin/sh", ["/bin/sh", "-c", "\"/bin/sh\" -c for\\ x\\ in\\ a\\ b\\ c"...], [/* 25 vars */]) = 0
25 +execve("/bin/sh", ["/bin/sh", "-c", "for x in a b c ; do \\"], [/* 24 vars */]) = 0
27 - Rene Rebe <rene@exactcode.de>
29 --- LPRng-3.8.28/Makefile.in.vanilla 2006-10-04 19:05:01.000000000 +0000
30 +++ LPRng-3.8.28/Makefile.in 2006-10-04 19:05:07.000000000 +0000
31 @@ -42,7 +42,7 @@
32 LPD_CONF_PATH=\"@LPD_CONF_PATH@\"
33 PRINTCAP_PATH=\"@PRINTCAP_PATH@\"
34 LPD_PATH=\"@LPD_DIR@/lpd\"
35 -SHELL="@SHELL@"
36 +SHELL=@SHELL@
37 LOCKFILE=\"@LOCKFILE@\"
38 CONFIG_SUBDIR="@CONFIG_SUBDIR@"
39 PSHOWALL="@PSHOWALL@"