chrony: fix build with musl
authorBaruch Siach <baruch@tkos.co.il>
Tue, 14 Nov 2017 11:37:54 +0000 (13:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 15 Nov 2017 22:11:16 +0000 (23:11 +0100)
commitb6f7e4de525a045de46d7d26420d291dd6301554
tree906ac4cd7efef5c0eb4394490a34e6c6b2e31be7
parent9e479e65dcf1582b20433ca1b120efb66e806a04
chrony: fix build with musl

The SCM_TIMESTAMPING_PKTINFO macro is missing from the socket.h header
that musl libc provides as of version 1.1.16 that we currently use in
Buildroot. Patch the code to add this macro locally until we update
musl.

Fixes:
http://autobuild.buildroot.net/results/aab/aab3210d6d0c60fb07415d9bbdb09f2d4091446c/
http://autobuild.buildroot.net/results/fc8/fc8440db025f51c176240ca127bc68a367add21c/

Cc: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/chrony/0001-ntp-fix-build-with-musl-libc.patch [new file with mode: 0644]