void-packages/srcpkgs/firefox/patches/fix-seccomp-bpf.patch
Juan RP b1716fa5e6 firefox: update to 41.0.
- Re-enable jemalloc on native builds with glibc; matches other known distros.
- Add another patch required by musl.
- Remove obsolete patch required by musl.
2015-09-23 09:58:34 +02:00

14 lines
477 B
Diff

--- security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc.orig 2015-09-23 09:10:08.812740571 +0200
+++ security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc 2015-09-23 09:11:38.404746155 +0200
@@ -23,6 +23,11 @@
#include "sandbox/linux/services/android_ucontext.h"
#endif
+// 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 {