diff options
author | Marc Vertes <mvertes@free.fr> | 2017-02-12 20:45:33 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-02-13 07:49:27 +0000 |
commit | d629db1038ee095d9f7ce5893d4b9b5f6468c106 (patch) | |
tree | 52967e285fdf61f2640ccacffdc8448f8d7234bd /testing/seamonkey/fix-linux-syscall.patch | |
parent | 5c06a4980ea3a26d415490e798122c7a2d6ab7c3 (diff) | |
download | aports-d629db1038ee095d9f7ce5893d4b9b5f6468c106.tar.bz2 aports-d629db1038ee095d9f7ce5893d4b9b5f6468c106.tar.xz |
testing/seamonkey: upgrade to version 2.46
Diffstat (limited to 'testing/seamonkey/fix-linux-syscall.patch')
-rw-r--r-- | testing/seamonkey/fix-linux-syscall.patch | 25 |
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__) |