openntpd: fix build with musl
authorBaruch Siach <baruch@tkos.co.il>
Tue, 26 Sep 2017 12:37:35 +0000 (15:37 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 27 Sep 2017 19:21:13 +0000 (21:21 +0200)
commit8c8267bc7a3c4040438209bd44b78f34df2751fa
treef367746fdb212796562ddfee5bd94654fd3807b5
parent072b735a6c869a454a6b2fceb63f525ebd41db0c
openntpd: fix build with musl

The recent version bump added a local sys/cdefs.h header that overrides
the internal libc provided one. But since musl does not use this header,
the __dead definition in this file is missing. Add a patch that moves
the __dead definition to sys/types.h.

Update the autoreconf reason comment. Current openntpd ships libtool
version 2.4.2 that Buildroot can safely patch.

Fixes:
http://autobuild.buildroot.net/results/2b1/2b14b7012b93f0f2bfaf9e61435dd8826217d481/
http://autobuild.buildroot.net/results/7b0/7b08c987ce200deefa21ba85a9361d818be6b206/
http://autobuild.buildroot.net/results/230/2304c4de26bd6217b79aa035be340a3c81497cbd/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openntpd/0001-Revert-use-__dead-macro-from-sys-cdefs.h.patch [new file with mode: 0644]
package/openntpd/openntpd.mk