aports/unmaintained/seamonkey/fix-linux-syscall.patch
Alex Xu (Hello71) f87bf7e50c unmaintained/seamonkey: move from testing
no bumps for upstream security updates since 2.53.1 was released Feb
2020. note [0] "Warning! The SeaMonkey version available for download
from this page is outdated and may suffer from known security
vulnerabilities." for this type of highly exposed security-sensitive
software, there must be a maintainer responsible for regular and timely
updates, not just once every couple years.

[0] https://www.seamonkey-project.org/releases/2.49.5
2021-09-02 13:49:32 +00:00

17 lines
582 B
Diff

--- 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
+#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__)