diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2025-05-04 16:18:05 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2025-05-25 23:19:08 -0500 |
commit | c40018462a770f23ca96651ba7151e4ca2bdcf18 (patch) | |
tree | 48dc26fb0131a8fcd9c82688202d13e42f261900 /user/glib/sigstksz.patch | |
parent | 2e8cdd0023b40842a6d784ed0d896acb60291fe2 (diff) | |
download | packages-c40018462a770f23ca96651ba7151e4ca2bdcf18.tar.gz packages-c40018462a770f23ca96651ba7151e4ca2bdcf18.tar.bz2 packages-c40018462a770f23ca96651ba7151e4ca2bdcf18.tar.xz packages-c40018462a770f23ca96651ba7151e4ca2bdcf18.zip |
user/glib: Update to 2.84.0
Patch is needed until musl has a fix for _SC_MINSIGSTKSZ on ppc64.
Closes: #1314
Diffstat (limited to 'user/glib/sigstksz.patch')
-rw-r--r-- | user/glib/sigstksz.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/user/glib/sigstksz.patch b/user/glib/sigstksz.patch new file mode 100644 index 000000000..b0de031f1 --- /dev/null +++ b/user/glib/sigstksz.patch @@ -0,0 +1,20 @@ +See-also: https://inbox.vuxu.org/musl/D3S38EL8UO9V.U731IQFLR32X@ayaya.dev/ + +--- glib-2.84.0/glib/tests/unix.c.old 2025-03-06 07:09:13.000000000 -0600 ++++ glib-2.84.0/glib/tests/unix.c 2025-05-04 21:55:45.796547202 -0500 +@@ -588,13 +588,13 @@ + #ifndef SA_ONSTACK + g_test_skip ("alternate stack is not supported"); + #else +- size_t minsigstksz = MINSIGSTKSZ; ++ size_t minsigstksz = 32768; + guint8 *stack_memory = NULL; + guint8 *zero_mem = NULL; + stack_t stack = { 0 }; + stack_t old_stack = { 0 }; + +-#ifdef _SC_MINSIGSTKSZ ++#if 0 + /* Use the kernel-provided minimum stack size, if available. Otherwise default + * to MINSIGSTKSZ. Unfortunately that might not be big enough for huge + * register files for big CPU instruction set extensions. */ |