void-packages/srcpkgs/chroot-make/patches/make-3.82-bug30723.patch

13 lines
443 B
Diff

http://savannah.gnu.org/bugs/?30723
--- main.c 2010-07-19 17:10:53.000000000 +1000
+++ 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))