firefox: fix #316

This commit is contained in:
Dylan Araps 2021-08-11 13:50:09 +03:00
parent 9898c8b43c
commit 5c10a54a8e
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -9,10 +9,10 @@ patch -p1 < attachment.cgi\?id=9202429
sed '/fribidi/d' config/system-headers.mozbuild > _
mv -f _ config/system-headers.mozbuild
# Remove libc header which conflicts with 7 or so Linux kernel headers.
# Fix issue with Firefox mixing userspace and kernel headers.
# See: https://github.com/kisslinux/repo/issues/207
_f=dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
sed '/net\/if/d' "$_f" > _
sed '/if defined(LINUX)/a#include <net\/if.h>' "$_f" > _
mv -f _ "$_f"
# The most recent version of Clang is able to build NSS with its integrated