[packages/gtk-webkit4.1] - one more x32 fix: disable bmalloc's gigacache on x32, it requires 64-bit size_t

qboosh qboosh at pld-linux.org
Sun Jun 14 16:51:31 CEST 2026


commit a07601f850306768ef9a95fc61b14b7fe5c5f424
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 14 16:51:51 2026 +0200

    - one more x32 fix: disable bmalloc's gigacache on x32, it requires 64-bit size_t

 x32.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/x32.patch b/x32.patch
index 62cffb6..ef1b358 100644
--- a/x32.patch
+++ b/x32.patch
@@ -31,3 +31,14 @@ Index: webkitgtk/Source/WTF/wtf/Platform.h
      elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x64|x86_64|amd64)")
          # FORCE_32BIT is set in the build script when --32-bit is passed
          # on a Linux/intel 64bit host. This allows us to produce 32bit
+--- webkitgtk-2.52.4/Source/bmalloc/bmalloc/Gigacage.h.orig	2026-05-18 13:52:11.862685200 +0200
++++ webkitgtk-2.52.4/Source/bmalloc/bmalloc/Gigacage.h	2026-06-14 13:15:08.543763015 +0200
+@@ -43,7 +43,7 @@
+ #endif
+ 
+ #if ((BOS(DARWIN) || BOS(LINUX)) && \
+-    (BCPU(X86_64) || (BCPU(ARM64) && !defined(__ILP32__) && (!BPLATFORM(IOS_FAMILY) || BPLATFORM(IOS)))))
++    (BCPU(X86_64) && !defined(__ILP32__) || (BCPU(ARM64) && !defined(__ILP32__) && (!BPLATFORM(IOS_FAMILY) || BPLATFORM(IOS)))))
+ #define GIGACAGE_ENABLED 1
+ #else
+ #define GIGACAGE_ENABLED 0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.1.git/commitdiff/a07601f850306768ef9a95fc61b14b7fe5c5f424



More information about the pld-cvs-commit mailing list