From 651c915309774cf8631c9fb8b6f212fc500dd3c1 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Sat, 20 Jan 2018 18:41:25 +0800 Subject: 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 Signed-off-by: California Sullivan --- ...0001-Include-poll.h-instead-of-sys-poll.h.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch (limited to 'recipes-bsp/thermald/files/0001-Include-poll.h-instead-of-sys-poll.h.patch') 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 @@ +From b3de44c28cd930d68c17638575d46e590679f9fe Mon Sep 17 00:00:00 2001 +From: Anuj Mittal +Date: Thu, 18 Jan 2018 10:10:40 +0800 +Subject: [PATCH] Include poll.h instead of sys/poll.h + +POSIX specifies poll.h to be the correct header name [1]. Also fixes +a warning when built with musl. + + | /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Werror=cpp] + | #warning redirecting incorrect #include to + +[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html + +Upstream-Status: Submitted [https://github.com/intel/thermal_daemon/pull/147] + +Signed-off-by: Anuj Mittal +--- + src/thd_kobj_uevent.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/thd_kobj_uevent.h b/src/thd_kobj_uevent.h +index d30ea5c..aa8e33f 100644 +--- a/src/thd_kobj_uevent.h ++++ b/src/thd_kobj_uevent.h +@@ -28,7 +28,7 @@ + #include + #include + +-#include ++#include + #include + #include + #include +-- +2.7.4 + -- cgit v1.2.3-54-g00ecf