package/mfgtools: fix build issue related to __time64_t
authorGary Bisson <bisson.gary@gmail.com>
Tue, 11 Feb 2020 15:04:45 +0000 (16:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 16 Feb 2020 10:17:24 +0000 (11:17 +0100)
commit8e267afcc2912c40a4317c7580c8f8f2fa202489
treec6e671b93cd933f555803d08766eb7e7e918bd78
parentea796fc54278c6b6480be6b7d6e78130a323d4a5
package/mfgtools: fix build issue related to __time64_t

The tool fails to build on recent distros due to conflicting declaration
of __time64_t. Adding a check around the declaration to avoid
redefinition.

Patch not submitted upstream as the tool is not supported by NXP
anymore[1].

Fixes:
http://autobuild.buildroot.net/results/ca4498ad21a96ba2a38ca2467dadffdbb516355b/

[1] https://github.com/NXPmicro/mfgtools/pull/104

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch [new file with mode: 0644]