package/collectd: Fix build issue with SENSORS_API_VERSION >= 0x500
Current collectd version 5.7.1 fails to compile because there is a
check which breaks the compilation if lm_sensors API >= 0x500, but in
the mainline codebase this check was removed in commit:
https://github.com/collectd/collectd/commit/
069796bd76dd1ab0089a64f7c9c2a3c9f1475414
So add backported patch based on this commit.
Fixes:
http://autobuild.buildroot.net/results/
c3c84ca6e11b268ba5ada7e3dca18bca681ee43d/
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>