aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-siginfo_t.patch
diff options
context:
space:
mode:
authorMarc Vertes <marc.vertes@ugrid.net>2016-03-18 21:21:39 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-22 10:58:57 +0200
commit3ab89df0030d905def63177ebc928ec23494fcfe (patch)
treea24ba99ed3f342d747f8df79a1b65d480c801e5c /testing/seamonkey/fix-siginfo_t.patch
parentf90c15a50a5cefedf36bd7c043d5069b3652c092 (diff)
downloadaports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.bz2
aports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.xz
testing/seamonkey: new aport
http://www.seamonkey-project.org
Diffstat (limited to 'testing/seamonkey/fix-siginfo_t.patch')
-rw-r--r--testing/seamonkey/fix-siginfo_t.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/seamonkey/fix-siginfo_t.patch b/testing/seamonkey/fix-siginfo_t.patch
new file mode 100644
index 0000000000..f0175b41dd
--- /dev/null
+++ b/testing/seamonkey/fix-siginfo_t.patch
@@ -0,0 +1,11 @@
+--- seamonkey-2.39/mozilla/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc.orig
++++ seamonkey-2.39/mozilla/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc
+@@ -155,7 +155,7 @@
+ // most versions of glibc don't include this information in siginfo_t. So,
+ // we need to explicitly copy it into a arch_sigsys structure.
+ struct arch_sigsys sigsys;
+- memcpy(&sigsys, &info->_sifields, sizeof(sigsys));
++ memcpy(&sigsys, &info->__si_fields, sizeof(sigsys));
+
+ #if defined(__mips__)
+ // When indirect syscall (syscall(__NR_foo, ...)) is made on Mips, the