From 871b2b573f01c1b3176a0f65458b3d281b41c437 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:04:17 +0100 Subject: added pandoc and qt5 --- skip/icecat/sandbox-largefile.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 skip/icecat/sandbox-largefile.patch (limited to 'skip/icecat/sandbox-largefile.patch') diff --git a/skip/icecat/sandbox-largefile.patch b/skip/icecat/sandbox-largefile.patch new file mode 100644 index 0000000..f1cf28b --- /dev/null +++ b/skip/icecat/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 -- cgit v1.2.1