From 1f5334488447bfc47190d2c9ab489edb91a4fdf4 Mon Sep 17 00:00:00 2001 From: Hill Ma Date: Sun, 18 Apr 2021 15:09:09 -0700 Subject: [PATCH] clisp: update to 2.49.92. --- srcpkgs/clisp/patches/no-page.h.patch | 12 ------------ srcpkgs/clisp/patches/readline-7.patch | 11 ----------- srcpkgs/clisp/template | 16 ++++++++++------ 3 files changed, 10 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/clisp/patches/no-page.h.patch delete mode 100644 srcpkgs/clisp/patches/readline-7.patch diff --git a/srcpkgs/clisp/patches/no-page.h.patch b/srcpkgs/clisp/patches/no-page.h.patch deleted file mode 100644 index aafb98a31e7c..000000000000 --- a/srcpkgs/clisp/patches/no-page.h.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/unix.d -+++ b/src/unix.d -@@ -135,9 +135,6 @@ - #ifdef UNIX_AUX - #include /* for SHMLBA */ - #endif -- #if defined(UNIX_LINUX) && !defined(UNIX_GNU) -- #include /* for SHMLBA on Linux 2.0 */ -- #endif - /* declares shmget(), shmat(), shmdt(), shmctl() */ - #endif - /* used by SPVW, STREAM */ diff --git a/srcpkgs/clisp/patches/readline-7.patch b/srcpkgs/clisp/patches/readline-7.patch deleted file mode 100644 index 75adc511e7d4..000000000000 --- a/srcpkgs/clisp/patches/readline-7.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/modules/readline/readline.lisp 2016-09-20 22:23:51.876046496 +0200 -+++ b/modules/readline/readline.lisp 2016-09-20 22:24:11.070047486 +0200 -@@ -424,7 +424,7 @@ - "The version of this incarnation of the readline library, e.g., 0x0402.")) - (def-c-var gnu-readline-p (:name "rl_gnu_readline_p") (:type int) - (:documentation "True if this is real GNU readline.")) --(def-c-var readline-state (:name "rl_readline_state") (:type int) -+(def-c-var readline-state (:name "rl_readline_state") (:type ulong) - (:documentation "Flags word encapsulating the current readline state.")) - (def-c-var editing-mode (:name "rl_editing_mode") (:type int) - (:documentation "Says which editing mode readline is currently using. diff --git a/srcpkgs/clisp/template b/srcpkgs/clisp/template index ee0941a3d581..3cdd2b347eb1 100644 --- a/srcpkgs/clisp/template +++ b/srcpkgs/clisp/template @@ -1,8 +1,8 @@ # Template file for 'clisp' pkgname=clisp -version=2.49 -revision=6 -# possibly works elsewhere but not in an ancient 2010 release +version=2.49.92 +revision=1 +# possibly works elsewhere archs="x86_64* i686*" build_style=configure configure_args="--prefix=/usr --disable-mmap --disable-rpath @@ -12,9 +12,9 @@ makedepends="libsigsegv-devel $(vopt_if readline readline-devel)" short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger" maintainer="Martin Riese " license="GPL-2.0-only" -homepage="http://clisp.cons.org" -distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2" -checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890 +homepage="https://gitlab.com/gnu-clisp/clisp" +distfiles="https://alpha.gnu.org/gnu/clisp/clisp-${version}.tar.bz2" +checksum=bd443a94aa9b02da4c4abbcecfc04ffff1919c0a8b0e7e35649b86198cd6bb89 nopie=yes nocross=yes lib32disabled=yes @@ -31,6 +31,10 @@ if [ "$XBPS_TARGET_WORDSIZE" == 32 ]; then CFLAGS+=" -falign-functions=4" fi +pre_configure() { + export FORCE_UNSAFE_CONFIGURE=1 +} + do_build() { # Need to increase the Limit ulimit -s 16384