diff --git a/packages/emacs/src-sysdep.c.patch.beforehostbuild b/packages/emacs/src-sysdep.c.patch.beforehostbuild new file mode 100644 index 000000000..a233c49ff --- /dev/null +++ b/packages/emacs/src-sysdep.c.patch.beforehostbuild @@ -0,0 +1,14 @@ +--- a/src/sysdep.c ++++ b/src/sysdep.c +@@ -1818,7 +1818,11 @@ + + /* Alternate stack used by SIGSEGV handler below. */ + ++#ifdef __GLIBC__ ++static unsigned char sigsegv_stack[16384]; ++#else + static unsigned char sigsegv_stack[SIGSTKSZ]; ++#endif + + + /* Return true if SIGINFO indicates a stack overflow. */