[packages/gtk-webkit4.1] - use balloc anywhere for now, build with system malloc is broken

qboosh qboosh at pld-linux.org
Thu Jun 11 19:59:12 CEST 2026


commit 3c34a009ab043ad74ec50bbd0f0ac37e3c21b49c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jun 11 19:57:59 2026 +0200

    - use balloc anywhere for now, build with system malloc is broken

 gtk-webkit4.1.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk-webkit4.1.spec b/gtk-webkit4.1.spec
index 27c1a7e..607caed 100644
--- a/gtk-webkit4.1.spec
+++ b/gtk-webkit4.1.spec
@@ -261,6 +261,7 @@ Dokumentacja API portu WebKitu do GTK 4.
 %build
 CXXFLAGS="%{rpmcxxflags} -DNDEBUG %{?with_lowmem:--param ggc-min-expand=20 --param ggc-min-heapsize=65536}"
 for kind in %{?with_gtk3:gtk3} %{?with_gtk4:gtk4} ; do
+# USE_SYSTEM_MALLOC=ON (default in 32-bit builds) is broken as of v2.52.4 (bmalloc_CopyHeaders referred unconditionally in Source/JavaScriptCore/CMakeLists.txt)
 %cmake -B build-${kind} \
 	-DENABLE_GEOLOCATION=ON \
 	-DENABLE_GTKDOC=ON \
@@ -283,6 +284,7 @@ for kind in %{?with_gtk3:gtk3} %{?with_gtk4:gtk4} ; do
 	$([ "$kind" != "gtk4" ] && echo -DUSE_GTK4=OFF) \
 	-DUSE_LIBBACKTRACE=OFF \
 	%{!?with_sysprof:-DUSE_SYSPROF_CAPTURE=OFF} \
+	-DUSE_SYSTEM_MALLOC=OFF \
 	%{?max_bundle_size:-DUNIFIED_BUILD_MAX_BUNDLE_SIZE=%{max_bundle_size}}
 
 %{__make} -C build-${kind}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list