ntp: fix build without libcap and no threads
authorBaruch Siach <baruch@tkos.co.il>
Mon, 15 Oct 2018 18:38:28 +0000 (21:38 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 16 Oct 2018 12:48:27 +0000 (14:48 +0200)
commit13dcc69a39da97f615627553e88113ba455875ea
treef3a503ed356c9fefb058d08c1d653cfeb7177187
parentf099ef68166ad84eb204df8a04e97c00aae99b4c
ntp: fix build without libcap and no threads

When threads support is missing the ntp build system builds the
work_fork code. This code added call to set_user_group_ids() that is
under HAVE_DROPROOT, which is disabled when libcap is not built.

Add a patch fixing that.

Fixes:
http://autobuild.buildroot.net/results/ab9/ab9ceff1151b8b5e6b9fa77d39c0f9b0cac1a080/

Cc: Artyom Panfilov <apanfilov@spectracom.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ntp/0004-fix-work-fork-without-droproot.patch [new file with mode: 0644]