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-17 19:11:13 -0500 |
commit | 2586d8158d03b1fcb9d92ef3a335584e83e4b687 (patch) | |
tree | fb53006287ee64314b21045f42d8bfa4e8fabb74 /user/glib/sigstksz.patch | |
parent | 96b40c9dafeaa19dd76ee36233d1a89fe1298107 (diff) | |
download | packages-2586d8158d03b1fcb9d92ef3a335584e83e4b687.tar.gz packages-2586d8158d03b1fcb9d92ef3a335584e83e4b687.tar.bz2 packages-2586d8158d03b1fcb9d92ef3a335584e83e4b687.tar.xz packages-2586d8158d03b1fcb9d92ef3a335584e83e4b687.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. */ |