From cc60e742db35368698280c897178f3b9342394ac Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Fri, 6 Mar 2020 10:44:08 +0800 Subject: thermald: fix 32-bit build error with musl v1.2.0 Recent musl upgrades to v1.2.0 causing below error: Error log: ../git/src/thd_trip_point.cpp: In member function 'bool cthd_trip_point::thd_trip_point_check(int, unsigned int, int, bool*)': | ../git/src/thd_trip_point.cpp:250:19: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Werror=format=] | 250 | thd_log_info("Too early to act zone:%d index %d tm %ld\n", musl 1.2.0 have new feature: time_t is now 64-bit on all archs (not just 64-bit archs) Commit id: https://git.musl-libc.org/cgit/musl/commit/?id=38143339646a4ccce8afe298c34467767c899f51 Release note link for musl 1.2.0: https://git.musl-libc.org/cgit/musl/diff/ Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- recipes-bsp/thermald/thermald_1.9.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-bsp/thermald/thermald_1.9.1.bb') diff --git a/recipes-bsp/thermald/thermald_1.9.1.bb b/recipes-bsp/thermald/thermald_1.9.1.bb index e38e3f52..be68aa48 100644 --- a/recipes-bsp/thermald/thermald_1.9.1.bb +++ b/recipes-bsp/thermald/thermald_1.9.1.bb @@ -14,6 +14,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" SRC_URI = "git://github.com/intel/thermal_daemon/ \ + file://0001-thd_trip_point-fix-32-bit-build-error-with-musl-v1.2.patch \ " SRCREV = "7e23f7cc4611fd7289014c9805749ec75d59bae0" S = "${WORKDIR}/git" -- cgit v1.2.3-54-g00ecf