pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sbcl lang/sbcl: Update to 2.2.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37bdf210f207
branches:  trunk
changeset: 380681:37bdf210f207
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Jun 12 14:48:12 2022 +0000

description:
lang/sbcl: Update to 2.2.5

Tested by building (and hence building clisp) on NetBSD 9 amd64, and
running sbcl and evaluating (+ 1 2), following report by Chavdar
Ivanov.

Upstream NEWS (less bugfixes and minor improvements)

changes in sbcl-2.2.5 relative to sbcl-2.2.4:
  * minor incompatible change: SB-EXT:*DERIVE-FUNCTION-TYPES* being NIL now
    means that function calls will strictly only use type information from
    proclaimed ftypes. The previous behavior (still the default) of using
    derived type information from the same file is specified with :SAME-FILE.
    (lp#1393302)
  * minor incompatible change: RENAME-FILE now overwrites the target file on
    Windows too, making its behaviour consistent with other platforms.
  * minor incompatible change: inlining of local function is inhibited if
    policy DEBUG = 3.
  * platform support:
    ** single-stepping is now supported on 64-bit PowerPC platforms.  (thanks
       to Thomas Fitzsimmons)
    ** the :SB-LINKABLE-RUNTIME feature is now supported on 32-bit and 64-bit
       PowerPC platforms.  (thanks to Thomas Fitzsimmons)
  * enhancement: debug source locations now work correctly for top level forms
    with policy DEBUG = 1, as well as for block compiled files.
  * enhancement: TRACE now supports tracing macro functions, compiler-macro
    functions, individual methods and local functions.  See the user manual for
    more details.  (lp#375314)

changes in sbcl-2.2.4 relative to sbcl-2.2.3:
  * enhancement: better constraint propagation in the compiler. Specifically,
    the compiler can now derive the type of X in control flow join situations
    such as
    (LAMBDA (X) (ECASE (1 ...) (2 ...)) X)
    or
    (LAMBDA (X) (ETYPECASE (INTEGER ...) (SYMBOL ...)) X)
    instead of forgetting all information about X after the E(TYPE)CASE.

changes in sbcl-2.2.3 relative to sbcl-2.2.2:
  * minor incompatible change: SB-THREAD:MUTEX-OWNER may return :THREAD-DEAD
    if the apparent owner either exited nearly instantly after releasing the
    mutex (and is not now the owner), or died and never released it.
  * minor incompatible change: building the system with the simple semi-space
    copying collector is no longer supported.
  * minor incompatible change: support for PPC/Darwin has been removed.
  * platform support:
    ** threads are now enabled by default on RISC-V.
    ** The generational garbage collector is now supported on MIPS.

changes in sbcl-2.2.2 relative to sbcl-2.2.1:
  * platform support:
    ** all architectures now share the coverage mark instrumentation
       implementation, meaning that performance now equals what had been
       implemented only on x86 architectures.
  * enhancement: improved handling of source locations for some classes
    of compile time and runtime errors.
  * enhancement: better source locations for structure accessors.

changes in sbcl-2.2.1 relative to sbcl-2.2.0:
  * incompatible change: DEFINE-ALIEN-CALLBACK, which has never been exported
    from a public package, has been deleted.  It is superseded by
    SB-ALIEN:DEFINE-ALIEN-CALLABLE.
  * minor incompatible change: compiler warnings are emitted on more
    provably-erroneous code involving sequence functions on specialized
    arrays.
  * platform support:
    ** support getting thread IDs on FreeBSD.  (thanks to Felix Lange)
  * enhancement: provide a restart for method lambda list mismatches that
    fmakunbounds the generic function.
  * enhancement: provide a USE-VALUE restart around type errors signalled from
    (SETF SLOT-VALUE).
  * enhancement: when UPDATE-INSTANCE-FOR-DIFFERENT-CLASS (or -REDEFINED-)
    undergoes a non-local exit, restore the instance to its original state.
    (thanks to Michał phoe Herda)
  * enhancement: the :SYNCHRONIZED keyword argument to MAKE-HASH-TABLE is no
    longer experimental.

changes in sbcl-2.2.0 relative to sbcl-2.1.11:
  * platform support:
    ** support for FreeBSD on 64-bit arm platforms has been added.
    ** the :SB-LINKABLE-RUNTIME build-time feature is now supported on 32-bit
       and 64-bit arm platforms, and on the FreeBSD operating system.
  * enhancement: catch type mismatches for REPLACE, SUBSTITUTE, MAKE-ARRAY
    with :INITIAL-CONTENTS.

diffstat:

 lang/sbcl/Makefile                                |   4 +-
 lang/sbcl/distinfo                                |   8 +-
 lang/sbcl/patches/patch-src_runtime_run-program.c |  52 -----------------------
 3 files changed, 6 insertions(+), 58 deletions(-)

diffs (85 lines):

diff -r d4d01243b50e -r 37bdf210f207 lang/sbcl/Makefile
--- a/lang/sbcl/Makefile        Sun Jun 12 14:35:53 2022 +0000
+++ b/lang/sbcl/Makefile        Sun Jun 12 14:48:12 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.94 2021/11/30 23:35:05 rjs Exp $
+# $NetBSD: Makefile,v 1.95 2022/06/12 14:48:12 gdt Exp $
 
 DISTNAME=              ${PKGNAME_NOREV}-source
-PKGNAME=               sbcl-2.1.10
+PKGNAME=               sbcl-2.2.5
 CATEGORIES=            lang
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=sbcl/}
 EXTRACT_SUFX=          .tar.bz2
diff -r d4d01243b50e -r 37bdf210f207 lang/sbcl/distinfo
--- a/lang/sbcl/distinfo        Sun Jun 12 14:35:53 2022 +0000
+++ b/lang/sbcl/distinfo        Sun Jun 12 14:48:12 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.72 2021/11/30 23:35:05 rjs Exp $
+$NetBSD: distinfo,v 1.73 2022/06/12 14:48:12 gdt Exp $
 
-BLAKE2s (sbcl-2.1.10-source.tar.bz2) = 012f5a6a42b1843f53a7cf6fa009c3e1d3e6cbef07d883331703a3ac96bb1a53
-SHA512 (sbcl-2.1.10-source.tar.bz2) = 83c4064b0b99e673221abbc5fd8d6c463dd2368dac7438215f0b0f847fab3999f470d15fe5a6ed504983b80d9160771c3ccb1485e4c3c973be03634ca0d7678b
-Size (sbcl-2.1.10-source.tar.bz2) = 6680771 bytes
+BLAKE2s (sbcl-2.2.5-source.tar.bz2) = e57a0c6e5449d773f91b0b96529a5d2977d9f3141140af26eaf83c50f31e925a
+SHA512 (sbcl-2.2.5-source.tar.bz2) = 9d581535348bb709ca1f7edbe5ad92f079fd1cbc9a462524220fb229bd78770f7855c0b1a8641b990a1d663fb559edc0c2ca0f029281d4b0c80a5917b45d7b72
+Size (sbcl-2.2.5-source.tar.bz2) = 7029912 bytes
 SHA1 (patch-ab) = b272bee6fc39ede638cbf71106150044a2977596
 SHA1 (patch-clean.sh) = 8dd795727c2e2cba2c4b5ca8cc4972c89eb6ecaa
 SHA1 (patch-make-genesis-2.sh) = 5d61f2662795c93aabfaa18ef686725d2ed9384a
diff -r d4d01243b50e -r 37bdf210f207 lang/sbcl/patches/patch-src_runtime_run-program.c
--- a/lang/sbcl/patches/patch-src_runtime_run-program.c Sun Jun 12 14:35:53 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-$NetBSD: patch-src_runtime_run-program.c,v 1.4 2021/01/17 23:00:18 rjs Exp $
-
-Try to avoid doing the "open /dev/tty, TIOCNOTTY" dance.
-Instead, do as on OpenBSD.
-
---- src/runtime/run-program.c.orig     2020-09-27 18:25:47.000000000 +0000
-+++ src/runtime/run-program.c
-@@ -29,7 +29,7 @@
- #include <dirent.h>
- #include "interr.h" // for lose()
- 
--#ifdef LISP_FEATURE_OPENBSD
-+#if defined(LISP_FEATURE_OPENBSD) || defined(LISP_FEATURE_NETBSD)
- #include <util.h>
- #endif
- 
-@@ -57,7 +57,7 @@ int set_noecho(int fd)
-     return 1;
- }
- 
--#if defined(LISP_FEATURE_OPENBSD)
-+#if defined(LISP_FEATURE_OPENBSD) || defined(LISP_FEATURE_NETBSD)
- 
- int
- set_pty(char *pty_name)
-@@ -70,7 +70,7 @@ set_pty(char *pty_name)
-     return (set_noecho(STDIN_FILENO));
- }
- 
--#else /* !LISP_FEATURE_OPENBSD */
-+#else /* !LISP_FEATURE_OPENBSD && !LISP_FEATURE_NETBSD */
- 
- int
- set_pty(char *pty_name)
-@@ -94,7 +94,7 @@ set_pty(char *pty_name)
-     return (0);
- }
- 
--#endif /* !LISP_FEATURE_OPENBSD */
-+#endif /* !LISP_FEATURE_OPENBSD && !LISP_FEATURE_NETBSD */
- 
- void closefrom_fallback(int lowfd)
- {
-@@ -220,7 +220,7 @@ int spawn(char *program, char *argv[], i
-      * share stdin with our parent. In the latter case we claim
-      * control of the terminal. */
-     if (sin >= 0) {
--#ifdef LISP_FEATURE_OPENBSD
-+#if defined(LISP_FEATURE_OPENBSD) || defined(LISP_FEATURE_NETBSD)
-       setsid();
- #elif defined(LISP_FEATURE_DARWIN)
-       setpgid(0, getpid());


Home | Main Index | Thread Index | Old Index