repo/extra/firefox-esr/patches/fix-seccomp-bpf.patch
Dylan Araps 79eee75fea
firefox-esr: New package at 68.8.0esr
The regular 'firefox' package will be updated to track the latest
release. This fixes our package being incorrectly named in the
repositories.
2020-05-05 09:57:45 +03:00

15 lines
455 B
Diff

--- a/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc
+++ b/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc
@@ -25,6 +25,11 @@
#include "sandbox/linux/system_headers/linux_seccomp.h"
#include "sandbox/linux/system_headers/linux_signal.h"
+// musl libc defines siginfo_t __si_fields instead of _sifields
+#if defined(OS_LINUX) && !defined(__GLIBC__)
+#define _sifields __si_fields
+#endif
+
namespace {
struct arch_sigsys {