aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-linux-syscall.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/seamonkey/fix-linux-syscall.patch')
-rw-r--r--testing/seamonkey/fix-linux-syscall.patch25
1 files changed, 15 insertions, 10 deletions
diff --git a/testing/seamonkey/fix-linux-syscall.patch b/testing/seamonkey/fix-linux-syscall.patch
index 0107bbd457..2a0f2c674a 100644
--- a/testing/seamonkey/fix-linux-syscall.patch
+++ b/testing/seamonkey/fix-linux-syscall.patch
@@ -1,11 +1,16 @@
---- seamonkey-2.39/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h.orig
-+++ seamonkey-2.39/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h
-@@ -2814,7 +2814,7 @@
- LSS_INLINE _syscall6(void*, mmap, void*, s,
- size_t, l, int, p,
- int, f, int, d,
-- __off64_t, o)
-+ off64_t, o)
+--- seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h.orig
++++ seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h
+@@ -1506,6 +1506,13 @@
+ /* End of powerpc defininitions */
+ #endif
- LSS_INLINE _syscall4(int, newfstatat, int, d,
- const char *, p,
++#ifndef __NR_pread
++#define __NR_pread __NR_pread64
++#endif
++#ifndef __NR_pwrite
++#define __NR_pwrite __NR_pwrite64
++#endif
++
+
+ /* After forking, we must make sure to only call system calls. */
+ #if defined(__BOUNDED_POINTERS__)