summaryrefslogtreecommitdiff
path: root/~lukeshu/make-graph/bug30723.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-25 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-12-25 23:14:50 +0000
commite39d5f838c08b5b57eae4c1aec4ae00acd18b239 (patch)
tree5508286adf4ead02d969fe07072a7823729ad256 /~lukeshu/make-graph/bug30723.patch
parent2d2e64c7c198ff82ea6e306f7673168dcf5ddca7 (diff)
Sun Dec 25 23:14:50 UTC 2011
Diffstat (limited to '~lukeshu/make-graph/bug30723.patch')
-rw-r--r--~lukeshu/make-graph/bug30723.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/~lukeshu/make-graph/bug30723.patch b/~lukeshu/make-graph/bug30723.patch
new file mode 100644
index 000000000..84e7ebe7a
--- /dev/null
+++ b/~lukeshu/make-graph/bug30723.patch
@@ -0,0 +1,12 @@
+diff -Naur make-3.82-orig/main.c make-3.82-fix30723//main.c
+--- make-3.82-orig/main.c 2010-07-19 17:10:53.000000000 +1000
++++ make-3.82-fix30723//main.c 2010-09-23 23:34:10.932188592 +1000
+@@ -2093,7 +2093,7 @@
+ const char *pv = define_makeflags (1, 1);
+ char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1);
+ sprintf (p, "MAKEFLAGS=%s", pv);
+- putenv (p);
++ putenv (allocated_variable_expand (p));
+ }
+
+ if (ISDB (DB_BASIC))