diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-01-20 18:41:25 +0800 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2018-01-22 16:22:57 -0800 |
commit | 651c915309774cf8631c9fb8b6f212fc500dd3c1 (patch) | |
tree | 332c1af02732095b6835d90ffd9a5b3f519309cf /recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch | |
parent | a129e6a1c8a25ca5c7dcc079fe2ea80f21320e5f (diff) | |
download | meta-intel-651c915309774cf8631c9fb8b6f212fc500dd3c1.tar.gz |
thermald: update from 1.6 to 1.7.1
Updated version with patches to ensure thermald with musl and x32.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Diffstat (limited to 'recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch')
-rw-r--r-- | recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch b/recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch new file mode 100644 index 00000000..16d2ff10 --- /dev/null +++ b/recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From b3de44c28cd930d68c17638575d46e590679f9fe Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anuj.mittal@intel.com> | ||
3 | Date: Thu, 18 Jan 2018 10:10:40 +0800 | ||
4 | Subject: [PATCH] Include poll.h instead of sys/poll.h | ||
5 | |||
6 | POSIX specifies poll.h to be the correct header name [1]. Also fixes | ||
7 | a warning when built with musl. | ||
8 | |||
9 | | <sysroot>/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp] | ||
10 | | #warning redirecting incorrect #include <sys/poll.h> to <poll.h> | ||
11 | |||
12 | [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/intel/thermal_daemon/pull/147] | ||
15 | |||
16 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
17 | --- | ||
18 | src/thd_kobj_uevent.h | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/thd_kobj_uevent.h b/src/thd_kobj_uevent.h | ||
22 | index d30ea5c..aa8e33f 100644 | ||
23 | --- a/src/thd_kobj_uevent.h | ||
24 | +++ b/src/thd_kobj_uevent.h | ||
25 | @@ -28,7 +28,7 @@ | ||
26 | #include <stdlib.h> | ||
27 | #include <string.h> | ||
28 | |||
29 | -#include <sys/poll.h> | ||
30 | +#include <poll.h> | ||
31 | #include <sys/socket.h> | ||
32 | #include <sys/types.h> | ||
33 | #include <unistd.h> | ||
34 | -- | ||
35 | 2.7.4 | ||
36 | |||