summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-04-24 16:44:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-26 10:09:07 +0100
commit60ac138adc5587bd955495445c65dc73926b8eaa (patch)
tree924e7d8daeeb8a5706ca752d57009b4a98d4222e /meta/recipes-devtools
parentd0d822d173e7662a083aed77565ca8153dd9b0b2 (diff)
downloadpoky-60ac138adc5587bd955495445c65dc73926b8eaa.tar.gz
ninja: add Upstream-Status and SOB for musl patch
(From OE-Core rev: f3a20accd2372449746955fec8521ac8a55d60ed) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/ninja/ninja/fix-musl.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/meta/recipes-devtools/ninja/ninja/fix-musl.patch b/meta/recipes-devtools/ninja/ninja/fix-musl.patch
index 543d4f1c48..7fd779110d 100644
--- a/meta/recipes-devtools/ninja/ninja/fix-musl.patch
+++ b/meta/recipes-devtools/ninja/ninja/fix-musl.patch
@@ -1,18 +1,22 @@
12ff54ad7478a90bd75c91e434236a Mon Sep 17 00:00:00 2001 1From e92a915183f8bff268f74c8cd00d986301a2bbf8 Mon Sep 17 00:00:00 2001
2From: makepost <makepost@firemail.cc> 2From: makepost <makepost@firemail.cc>
3Date: Mon, 24 Dec 2018 03:13:16 +0200 3Date: Mon, 24 Dec 2018 03:13:16 +0200
4Subject: [PATCH] Use st_mtim if st_mtime is macro, fix #1510 4Subject: [PATCH] Use st_mtim if st_mtime is macro, fix #1510
5 5
6In POSIX.1-2008, sys_stat has a st_mtim member and a st_mtime backward 6In POSIX.1-2008, sys_stat has a st_mtim member and a st_mtime backward
7compatibility macro. Should help avoid hardcoding platform detection. 7compatibility macro. Should help avoid hardcoding platform detection.
8
9Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
10
11Upstream-Status: Pending
8--- 12---
9 src/disk_interface.cc | 14 ++++---------- 13 src/disk_interface.cc | 14 ++++----------
10 1 file changed, 4 insertions(+), 10 deletions(-) 14 1 file changed, 4 insertions(+), 10 deletions(-)
11 15
12diff --git a/src/disk_interface.cc b/src/disk_interface.cc 16diff --git a/src/disk_interface.cc b/src/disk_interface.cc
13index d4c2fb087..dc297c449 100644 17index d4c2fb0..dc297c4 100644
14--- src/disk_interface.cc 18--- a/src/disk_interface.cc
15+++ /src/disk_interface.cc 19+++ b/src/disk_interface.cc
16@@ -202,19 +202,13 @@ TimeStamp RealDiskInterface::Stat(const string& path, string* err) const { 20@@ -202,19 +202,13 @@ TimeStamp RealDiskInterface::Stat(const string& path, string* err) const {
17 // that it doesn't exist. 21 // that it doesn't exist.
18 if (st.st_mtime == 0) 22 if (st.st_mtime == 0)
@@ -37,3 +41,6 @@ index d4c2fb087..dc297c449 100644
37 #else 41 #else
38 return (int64_t)st.st_mtime * 1000000000LL + st.st_mtimensec; 42 return (int64_t)st.st_mtime * 1000000000LL + st.st_mtimensec;
39 #endif 43 #endif
44--
452.17.1
46