summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/make
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-06-14 19:29:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 18:05:25 +0100
commit1c916949e9035d2c29b50ea69a8a2a1ff575b7d0 (patch)
tree591847f724f71d94465657b9d5df0057f3f6be40 /meta/recipes-devtools/make
parenta525a06ebabfb0d0e1b409bda8e1313eab2bf957 (diff)
downloadpoky-1c916949e9035d2c29b50ea69a8a2a1ff575b7d0.tar.gz
make: 4.2 -> 4.2.1
1) Remove unused patch 0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch. 2) Here are the fixes since 4.2, the [SV 47995] is important for us. * maintMakefile: TP recommends rsync for retrieving PO files. * main.c (main): [SV 48009] Reset stack limit for make re-exec. [SV 47995] Ensure forced double-colon rules work with -j. * DELETE_ON_ERROR: [SV 48061] Use "exit 1" for portability. * w32/pathstuff.c: [SV 47996] Use ISBLANK() not isblank(). Fix printing time stamps on MS-Windows [SV 48037] Fix MinGW build with Posix configury tools (From OE-Core rev: ce48f7dcdbf694caab0be04434ba6df6a61b7d8b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/make')
-rw-r--r--meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch63
-rw-r--r--meta/recipes-devtools/make/make_4.2.1.bb (renamed from meta/recipes-devtools/make/make_4.2.bb)4
2 files changed, 2 insertions, 65 deletions
diff --git a/meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch b/meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
deleted file mode 100644
index 7a5f4ba055..0000000000
--- a/meta/recipes-devtools/make/make-4.2/0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 292da6f6867b75a5af7ddbb639a1feae022f438f Mon Sep 17 00:00:00 2001
2From: Paul Smith <psmith@gnu.org>
3Date: Mon, 20 Oct 2014 01:54:56 -0400
4Subject: [PATCH] * main.c (main): [SV 43434] Handle NULL returns from
5 ttyname().
6
7Upstream-Status: Backport
8
9From: http://git.savannah.gnu.org/cgit/make.git/commit/?id=292da6f6867b75a5af7ddbb639a1feae022f438f
10
11---
12 main.c | 15 ++++++++++-----
13 makeint.h | 3 ++-
14 2 files changed, 12 insertions(+), 6 deletions(-)
15
16diff --git a/main.c b/main.c
17index b2d169c..0cdb8a8 100644
18--- a/main.c
19+++ b/main.c
20@@ -1429,13 +1429,18 @@ main (int argc, char **argv, char **envp)
21 #ifdef HAVE_ISATTY
22 if (isatty (fileno (stdout)))
23 if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMOUT")))
24- define_variable_cname ("MAKE_TERMOUT", TTYNAME (fileno (stdout)),
25- o_default, 0)->export = v_export;
26-
27+ {
28+ const char *tty = TTYNAME (fileno (stdout));
29+ define_variable_cname ("MAKE_TERMOUT", tty ? tty : DEFAULT_TTYNAME,
30+ o_default, 0)->export = v_export;
31+ }
32 if (isatty (fileno (stderr)))
33 if (! lookup_variable (STRING_SIZE_TUPLE ("MAKE_TERMERR")))
34- define_variable_cname ("MAKE_TERMERR", TTYNAME (fileno (stderr)),
35- o_default, 0)->export = v_export;
36+ {
37+ const char *tty = TTYNAME (fileno (stderr));
38+ define_variable_cname ("MAKE_TERMERR", tty ? tty : DEFAULT_TTYNAME,
39+ o_default, 0)->export = v_export;
40+ }
41 #endif
42
43 /* Reset in case the switches changed our minds. */
44diff --git a/makeint.h b/makeint.h
45index 6223936..2009f41 100644
46--- a/makeint.h
47+++ b/makeint.h
48@@ -436,10 +436,11 @@ extern struct rlimit stack_limit;
49 /* The number of bytes needed to represent the largest integer as a string. */
50 #define INTSTR_LENGTH CSTRLEN ("18446744073709551616")
51
52+#define DEFAULT_TTYNAME "true"
53 #ifdef HAVE_TTYNAME
54 # define TTYNAME(_f) ttyname (_f)
55 #else
56-# define TTYNAME(_f) "true"
57+# define TTYNAME(_f) DEFAULT_TTYNAME
58 #endif
59
60
61--
621.9.1
63
diff --git a/meta/recipes-devtools/make/make_4.2.bb b/meta/recipes-devtools/make/make_4.2.1.bb
index 6327d6ce51..c6e6a0cd58 100644
--- a/meta/recipes-devtools/make/make_4.2.bb
+++ b/meta/recipes-devtools/make/make_4.2.1.bb
@@ -6,7 +6,7 @@ require make.inc
6 6
7EXTRA_OECONF += "--without-guile" 7EXTRA_OECONF += "--without-guile"
8 8
9SRC_URI[md5sum] = "85ad14d08766201ffe71efa866f4fb91" 9SRC_URI[md5sum] = "15b012617e7c44c0ed482721629577ac"
10SRC_URI[sha256sum] = "4e5ce3b62fe5d75ff8db92b7f6df91e476d10c3aceebf1639796dc5bfece655f" 10SRC_URI[sha256sum] = "d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589"
11 11
12BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"