From 5c10a54a8edaacbf1965ad519d49b2d90858d23b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 11 Aug 2021 13:50:09 +0300 Subject: [PATCH] firefox: fix #316 --- extra/firefox/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/firefox/build b/extra/firefox/build index 767ef7cc..d50d4a36 100755 --- a/extra/firefox/build +++ b/extra/firefox/build @@ -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 ' "$_f" > _ mv -f _ "$_f" # The most recent version of Clang is able to build NSS with its integrated