firefox [testing]: Fix build with musl.

Both <net/if.h> and <linux/if.h> were included among
other network related headers from the kernel.

This commit simply removes <net/if.h> which allows the
build to continue.
This commit is contained in:
Dylan Araps 2020-07-28 08:59:39 +03:00
parent bbb768c9af
commit 341c07e8ca
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -3,6 +3,11 @@
patch -p1 < no-dbus.patch
patch -p1 < rust-1.45.patch
# Remove libc header which conflicts with 7 or so Linux
# kernel headers. See: https://github.com/kisslinux/repo/issues/207
sed -i '/net\/if/d' \
media/mtransport/third_party/nICEr/src/stun/addrs-netlink.c
# Build autoconf 2.13 for Firefox's sole use.
# See: https://bugzilla.mozilla.org/show_bug.cgi?id=104642
(