emacs: Add patch to fix hostbuild with glibc 2.34

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2022-03-21 03:49:56 +09:00
parent 76a9a07584
commit 07a6725049
1 changed files with 14 additions and 0 deletions

View File

@ -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. */