mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
main/emacs: updated to 28.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
4c3d9ff35b2ab2fe518dc7eb3951e128 emacs-27.2.tar.xz
|
||||
cfd9d017c291f23c0276469ed5e8a8a2 emacs-glibc-2.34.patch
|
||||
a74841c74a3b2b8a1af2a504799a6a93 emacs-28.1.tar.xz
|
||||
|
||||
8099
main/emacs/.pkgfiles
8099
main/emacs/.pkgfiles
File diff suppressed because it is too large
Load Diff
@@ -1,40 +0,0 @@
|
||||
From f97e07ea807cc6d38774a3888a15091b20645ac6 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggert <eggert@cs.ucla.edu>
|
||||
Date: Tue, 9 Mar 2021 11:22:59 -0800
|
||||
Subject: [PATCH] Port alternate signal stack to upcoming glibc 2.34
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
* src/sysdep.c (sigsegv_stack): Increase size to 64 KiB and align
|
||||
it to max_align_t. This copies from Gnulib’s c-stack.c, and works
|
||||
around a portability bug in draft glibc 2.34, which no longer
|
||||
defines SIGSTKSZ when _GNU_SOURCE is defined.
|
||||
---
|
||||
src/sysdep.c | 10 +++++++++-
|
||||
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/sysdep.c b/src/sysdep.c
|
||||
index 941b4e2fa2..24d8832b2f 100644
|
||||
--- a/src/sysdep.c
|
||||
+++ b/src/sysdep.c
|
||||
@@ -1785,7 +1785,15 @@ handle_arith_signal (int sig)
|
||||
|
||||
/* Alternate stack used by SIGSEGV handler below. */
|
||||
|
||||
-static unsigned char sigsegv_stack[SIGSTKSZ];
|
||||
+/* Storage for the alternate signal stack.
|
||||
+ 64 KiB is not too large for Emacs, and is large enough
|
||||
+ for all known platforms. Smaller sizes may run into trouble.
|
||||
+ For example, libsigsegv 2.6 through 2.8 have a bug where some
|
||||
+ architectures use more than the Linux default of an 8 KiB alternate
|
||||
+ stack when deciding if a fault was caused by stack overflow. */
|
||||
+static max_align_t sigsegv_stack[(64 * 1024
|
||||
+ + sizeof (max_align_t) - 1)
|
||||
+ / sizeof (max_align_t)];
|
||||
|
||||
|
||||
/* Return true if SIGINFO indicates a stack overflow. */
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -2,16 +2,13 @@
|
||||
# depends : giflib libxml2 gnutls imagemagick6 libxpm
|
||||
|
||||
name=emacs
|
||||
version=27.2
|
||||
version=28.1
|
||||
release=1
|
||||
source="ftp://ftp.gnu.org/gnu/emacs/$name-$version.tar.xz
|
||||
emacs-glibc-2.34.patch"
|
||||
source="ftp://ftp.gnu.org/gnu/emacs/$name-$version.tar.xz"
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -Np1 -i ../emacs-glibc-2.34.patch
|
||||
|
||||
IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6 \
|
||||
IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI -lMagickWand-6.Q16HDRI" \
|
||||
./configure --prefix=/usr \
|
||||
|
||||
Reference in New Issue
Block a user