aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/firefox/musl-pread64.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-05-24 15:40:32 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-05-24 15:40:32 +0000
commitdea2a1fa20fc8e843cd85e5920a67b9054d00b2e (patch)
treef331ff92dc5fd26f5803b483a24a0a21fd9bb97a /repos/extra/firefox/musl-pread64.patch
parentef5bfeb93345a5a681d88e99775622bf28defd8d (diff)
downloadalicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.tar.gz
alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.zip
Woodpecker CI ef5bfeb93345a5a681d88e99775622bf28defd8d [SKIP CI]
Diffstat (limited to 'repos/extra/firefox/musl-pread64.patch')
-rw-r--r--repos/extra/firefox/musl-pread64.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/repos/extra/firefox/musl-pread64.patch b/repos/extra/firefox/musl-pread64.patch
deleted file mode 100644
index d9dda499..00000000
--- a/repos/extra/firefox/musl-pread64.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 1b46c0fc085fe93c36320d7ac1004c83efccdccc Mon Sep 17 00:00:00 2001
-From: Samuel Holland <samuel@sholland.org>
-Date: Sun, 8 Jan 2017 19:19:23 -0600
-Subject: [PATCH 11/30] musl: Fix syscall wrappers
-
-musl defines p{read,write}64 to their non-suffixed equivalents to avoid
-duplication in its syscall wrappers. This breaks macro expansion here,
-leading to errors such as:
-
-In function size_t sys_pread64(int, void*, size_t, off_t):
- error: '__NR_pread' was not declared in this scope
-
-The fix here is to undefine the p{read,write}64 macros, so the syscall
-expands to (e.g.) __NR_pread64 instead.
-
-Signed-off-by: Samuel Holland <samuel@sholland.org>
-Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
----
- .../src/third_party/lss/linux_syscall_support.h | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h b/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h
-index 1abe0ba5b0..d6087a1674 100644
---- a/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h
-+++ b/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h
-@@ -173,6 +173,13 @@ extern "C" {
- # undef __NR_waitpid
- #endif
-
-+#ifdef pread64
-+#undef pread64
-+#endif
-+#ifdef pwrite64
-+#undef pwrite64
-+#endif
-+
- /* As glibc often provides subtly incompatible data structures (and implicit
- * wrapper functions that convert them), we provide our own kernel data
- * structures for use by the system calls.
---
-2.34.1
-