]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
radvd: add a patch to fix build failure on architectures without sysctl()
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 23 Nov 2014 17:36:03 +0000 (18:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 24 Nov 2014 21:04:57 +0000 (22:04 +0100)
commitcb54da1b03f2e6d684416c614021735dfe276606
treecdf87faf4d36e9c6fac97fcb4082239c2fa85843
parent870b94c944d5f1ccf7ffd96ac513801eb37339f7
radvd: add a patch to fix build failure on architectures without sysctl()

Modern architectures such as ARC do not provide the sysctl() system
call, since it is deprecated. However, uClibc still installs
<sys/sysctl.h> in such cases, which defeats radvd check for the
availability of sysctl(). This commit adds a patch to radvd which
improves the sysctl() checking.

Fixes:

  http://autobuild.buildroot.org/results/458/4581c4220adeaebbf6761e3b923088d8de8522d5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/radvd/0003-Improve-check-of-the-sysctl-function.patch [new file with mode: 0644]