tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

⎇ main recipes/firefox-patches/lfs64.patch 35 lines · 1.3 KB History raw

firefox 154.0 — la cabeza de la familia Gecko (receta, sin construir todavía) 428be5e8d · Sergio ·

1force stat() instead of stat64() on 32-bit
2--
3--- a/xpcom/io/nsLocalFileUnix.h
4+++ b/xpcom/io/nsLocalFileUnix.h
5@@ -21,7 +21,7 @@
6 
7 // stat64 and lstat64 are deprecated on OS X. Normal stat and lstat are
8 // 64-bit by default on OS X 10.6+.
9-#if defined(HAVE_STAT64) && defined(HAVE_LSTAT64) && !defined(XP_DARWIN)
10+#if 0 && defined(HAVE_STAT64) && defined(HAVE_LSTAT64) && !defined(XP_DARWIN)
11 #  define STAT stat64
12 #  define LSTAT lstat64
13 #  define HAVE_STATS64 1
14--- a/mozglue/baseprofiler/core/shared-libraries-linux.cc
15+++ b/mozglue/baseprofiler/core/shared-libraries-linux.cc
16@@ -178,7 +178,7 @@
17       return false;
18     }
19 
20-#if defined(__x86_64__) || defined(__aarch64__) || \
21+#if 1 || defined(__x86_64__) || defined(__aarch64__) || \
22     (defined(__mips__) && _MIPS_SIM == _ABI64) ||  \
23     !(defined(GP_OS_linux) || defined(GP_OS_android))
24 
25--- a/security/sandbox/linux/broker/SandboxBrokerUtils.h
26+++ b/security/sandbox/linux/broker/SandboxBrokerUtils.h
27@@ -15,7 +15,7 @@
28 // calls. We'll intercept those and handle them in the stat functions
29 // but must be sure to use the right structure layout.
30 
31-#if defined(__NR_stat64) || defined(__NR_fstatat64)
32+#if 0 && (defined(__NR_stat64) || defined(__NR_fstatat64) )
33 typedef struct stat64 statstruct;
34 #  define statsyscall stat64
35 #  define lstatsyscall lstat64