[arch-commits] Commit in cmucl/trunk (PKGBUILD glibc-2.34.patch)

Antonio Rojas arojas at gemini.archlinux.org
Fri Mar 11 20:20:33 UTC 2022


    Date: Friday, March 11, 2022 @ 20:20:33
  Author: arojas
Revision: 1148674

Fix build with glibc 2.34

Added:
  cmucl/trunk/glibc-2.34.patch
Modified:
  cmucl/trunk/PKGBUILD

------------------+
 PKGBUILD         |    7 +++++--
 glibc-2.34.patch |   12 ++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-11 20:20:30 UTC (rev 1148673)
+++ PKGBUILD	2022-03-11 20:20:33 UTC (rev 1148674)
@@ -16,12 +16,14 @@
         "https://common-lisp.net/project/cmucl/downloads/release/${pkgver}/cmucl-src-${pkgver}.tar.bz2.asc"
         "https://common-lisp.net/project/cmucl/downloads/release/${pkgver}/cmucl-${pkgver}-x86-linux.tar.bz2"
         "https://common-lisp.net/project/cmucl/downloads/release/${pkgver}/cmucl-${pkgver}-x86-linux.tar.bz2.asc"
-	'0001-Fix-68-Use-O1-when-compiling-with-gcc-now.patch')
+	'0001-Fix-68-Use-O1-when-compiling-with-gcc-now.patch'
+        'glibc-2.34.patch')
 sha256sums=('657d9332ef0453a513a55c4ed84993ac5157e215efa423d2d7aa432a4bbc4ab4'
             'SKIP'
             '45d72d72a3d3b5087561bdc1ae943c8ed445427f3939cc0eb7597dd07eb10d9b'
             'SKIP'
-            '48ef3fd1038cc0c53c4a5151f5a3eccde1ac58cef28f4dfc8553b5f7977ea9c9')
+            '48ef3fd1038cc0c53c4a5151f5a3eccde1ac58cef28f4dfc8553b5f7977ea9c9'
+            'b3561f995cd5d8ec272883646ef88c44b6f2e27cfcf0b93aad38cf7201b01eac')
 validpgpkeys=('0EF50ED55514BFF6B72B9DAC06CE3819086C750B') # "Raymond Toy <toy.raymond at gmail.com>
 url="https://www.cons.org/cmucl/"
 arch=('x86_64')
@@ -28,6 +30,7 @@
 
 prepare() {
   patch -p1 -d "${srcdir}" -i "${srcdir}/0001-Fix-68-Use-O1-when-compiling-with-gcc-now.patch"
+  patch -d src -p1 -i ../glibc-2.34.patch # Fix build with glibc 2.34
   if [[ $CARCH == "i686" ]]; then
     sed -i 's|i386\*|i686\*|' "${srcdir}"/bin/build-all.sh
   fi

Added: glibc-2.34.patch
===================================================================
--- glibc-2.34.patch	                        (rev 0)
+++ glibc-2.34.patch	2022-03-11 20:20:33 UTC (rev 1148674)
@@ -0,0 +1,12 @@
+diff -ru src.orig/lisp/interrupt.c src/lisp/interrupt.c
+--- src.orig/lisp/interrupt.c	2022-03-11 21:13:20.249071179 +0100
++++ src/lisp/interrupt.c	2022-03-11 21:14:27.152779948 +0100
+@@ -405,7 +405,7 @@
+ * Noise to install handlers.                                     *
+ \****************************************************************/
+ 
+-char altstack[SIGNAL_STACK_SIZE];
++char altstack[8192];
+ 
+ void
+ interrupt_install_low_level_handler(int signal, void handler(HANDLER_ARGS))



More information about the arch-commits mailing list