From 07a67250490e1c343a81ade3de2b527ab8639d57 Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Mon, 21 Mar 2022 03:49:56 +0900 Subject: [PATCH] emacs: Add patch to fix hostbuild with glibc 2.34 %ci:no-build --- packages/emacs/src-sysdep.c.patch.beforehostbuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/emacs/src-sysdep.c.patch.beforehostbuild 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. */