diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2016-05-20 07:15:48 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-24 20:50:06 +0200 |
commit | 953a85439cb39345676cdce234de070475344783 (patch) | |
tree | ed03a7cf1817d470b93f310581cb2a8fe846a576 /support/scripts/gen-manual-lists.py | |
parent | 1370fcaeb7c88e958a967594596769c71a4526f9 (diff) | |
download | buildroot-953a85439cb39345676cdce234de070475344783.tar.gz buildroot-953a85439cb39345676cdce234de070475344783.zip |
package/lxc: add patch to fix musl build
Add a patch to fix a build issue with the musl C library.
struct in6_addr is both defined in the C library header <netinet/in.h> and the
Linux kernel header <linux/in6.h>.
lxc_user_nic.c includes both <netinet/in.h> and <linux/if_bridge.h>. The later
one includes <linux/in6.h>.
This breaks build with the musl libc:
error: redefinition of ‘struct in6_addr’
As lxc_user_nic.c does not use any references from <linux/if_bridge.h> it is
safe to remove this header.
Fixes:
http://autobuild.buildroot.net/results/f32/f321823be6b477be7dc55393e563a3a61794265d/
http://autobuild.buildroot.net/results/8ab/8ab2dc8e0634fbfb582db94cdf94cee5712711f9/
http://autobuild.buildroot.net/results/e27/e27d637b1bb7278ae30d86a72a2d88432d805d2c/
.. and more.
Upstream status: Pending
https://github.com/lxc/lxc/pull/1029
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts/gen-manual-lists.py')
0 files changed, 0 insertions, 0 deletions