diff options
author | davidovski <david@davidovski.xyz> | 2022-05-25 22:50:03 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-25 22:50:03 +0100 |
commit | 7b0628f037dcbf85cfb381d5e05dea39a2059d33 (patch) | |
tree | 4a534ef861d19cdf5235b504af5be2a5d0becb71 /repo/apps/firefox/sandbox-largefile.patch | |
parent | 79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (diff) |
fixed various broken dependencies
Diffstat (limited to 'repo/apps/firefox/sandbox-largefile.patch')
-rw-r--r-- | repo/apps/firefox/sandbox-largefile.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/apps/firefox/sandbox-largefile.patch b/repo/apps/firefox/sandbox-largefile.patch new file mode 100644 index 0000000..f1cf28b --- /dev/null +++ b/repo/apps/firefox/sandbox-largefile.patch @@ -0,0 +1,17 @@ +--- a/security/sandbox/linux/SandboxFilter.cpp 2020-11-23 22:41:14.556378950 +0100 ++++ b/security/sandbox/linux/SandboxFilter.cpp 2020-11-23 22:40:23.595806444 +0100 +@@ -68,7 +68,13 @@ + + // The headers define O_LARGEFILE as 0 on x86_64, but we need the + // actual value because it shows up in file flags. +-#define O_LARGEFILE_REAL 00100000 ++#if defined(__x86_64__) || defined(__i386__) || defined(__mips__) ++#define O_LARGEFILE_REAL 0100000 ++#elif defined(__powerpc__) ++#define O_LARGEFILE_REAL 0200000 ++#else ++#define O_LARGEFILE_REAL O_LARGEFILE ++#endif + + // Not part of UAPI, but userspace sees it in F_GETFL; see bug 1650751. + #define FMODE_NONOTIFY 0x4000000 |