summaryrefslogtreecommitdiff
path: root/lang/sbcl
diff options
context:
space:
mode:
authorrjs <rjs@pkgsrc.org>2019-08-13 15:16:54 +0000
committerrjs <rjs@pkgsrc.org>2019-08-13 15:16:54 +0000
commit5c654387dbe45aced25fbf0a21e6883979aa484f (patch)
tree7fb2aa7a491fbd495917d94eed916f5f8972b9e4 /lang/sbcl
parentdbee75db1709edd20a774e5a84fcb3961356ef6a (diff)
downloadpkgsrc-5c654387dbe45aced25fbf0a21e6883979aa484f.tar.gz
Update to 1.5.5, change maintainer to pkgsrc-users. Changes since 1.4.3:
Changes between version 1.5.4 and version 1.5.5 * platform support: - SunOS: bug reports and patches from Richard Lowe in sb-posix tests (#1837495), sb-concurrency tests (#1837817), unencapsulated tracing (#1837307), float registers in interrupt contexts (#1837168) * bug fix: do not generate version.lisp-expr from git describe if the git repository is not sbcl's own. (#1836663, thanks to Richard Lowe) * bug fix: compiler crash related to VALUES-LIST on a &REST argument in some contexts. (#1836096, reported by Samuel Jimenez) * bug fix: compiler hang related to constraint propagation. (#1835599, reported by Mark Cox) * bug fix: the inspector showed the wrong array element type. (#1835934, reported by Richard M Kreuter) * optimization: numerous improvements to hash table access and rehashing * optimization: ASSERT compiles into substantially more compact code. (#1835221) Changes between version 1.5.3 and version 1.5.4 * minor incompatible change: hash tables on 64-bit machines consume roughly 20% less memory but can only grow to hold 2^31 entries (theoretically) due to use of 31-bit indices internally. * platform support: - RISC-V: improve rotate-byte support (thanks to Philipp Matthias Schaefer) * bug fix: the system reasons more correctly regarding the array rank of complicated array types. (reported by Bart Botta) * bug fix: DOUBLE-FLOAT-P never gets weaked to NUMBERP. (reported by Bart Botta) * enhancement: the regression test suite can now benefit from paralellism, completing much faster when enough compute power is available. * optimization: readtables with non-base-char dispatch characters are less inefficient. * optimization: INTERN performs fewer redundant type checks. * optimization: tests for PATHNAMEP and STRUCTURE-OBJECT (including in computing hash functions) are faster. Changes between version 1.5.2 and version 1.5.3 * platform support: - RISC-V: numerous bug fixes and improvements - all platforms: better run-program performance when used from multiple threads. * enhancement: (declaim (optimize (debug 2))) ensures compilation of top-level forms, providing better debugging for simple forms that are otherwise "byte-code interpreted" when compiled into FASLs. * bug fix: use of finalizers could in rare circumstances cause a crash in the garbage collector. * bug fix: show extended function designators, e.g. (setf foo), in the disassembler * optimization: reduced overhead of calling NTH/NTHCDR. * optimization: improved FLOAT-SIGN on DOUBLE-FLOATs on 64-bit platforms Changes between version 1.5.1 and version 1.5.2 * enhancement: RISC-V support with the generational garbage collector. * enhancement: command-line option "--tls-limit" can be used to alter the maximum number of thread-local symbols from its default of 4096. * enhancement: better muffling of redefinition and lambda-list warnings * platform support: - OS X: use Grand Central Dispatch semaphores, rather than Mach semaphores - Windows: remove non-functional definition of make-listener-thread * new feature: decimal reader syntax for rationals, using the R exponent marker and/or *READ-DEFAULT-FLOAT-FORMAT* of RATIONAL. * optimization: various Unicode tables have been packed more efficiently Changes between version 1.5.0 and version 1.5.1 * enhancement: restarts for missing package errors. * optimization: FIND-PACKAGE should be faster even when run in the context of a package with local package-nicknames. * optimization: fix TRUNCATE deftransform's results to have well-defined signs * bug fix: thread-safety problems in RUN-PROGRAM with :PTY. * bug fix: SLEEP transform could never fire. * build enhancement: defend against quirky host floating point implementation * test enhancement: allow more parallelism in running the regression test suite Changes between version 1.4.16 and version 1.5.0 * enhancement: SB-COVER emulates IN-PACKAGE when recording source maps; this makes it possible to generate coverage for forms that uses local package nicknames, or otherwise must be read in the correct package. * build enhancement: new host quirks mechanism, support for building under ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself) * optimization: (FIND-SYMBOL x "P") for constant "P" executes faster, subject to "P" not being a package-local nickname of any package. Similarly INTERN. (#1814924) * optimization: bounds checks are elided when possible where the same array is dereferenced multiple times. * bug fix: initargs are now deduplicated when computing effective slots. * bug fix: TREE-EQUAL with :TEST 'EQL now correctly computes its answer. (reported by Bahodir Mansurov) * bug fix: compiled (COERCE x 'FLOAT) no longer coerces double-floats into single-floats. (reported by J. Gareth Williams) Changes between version 1.4.15 and version 1.4.16 * minor incompatible change: ENSURE-DIRECTORIES-EXIST no longer establishes a CONTINUE restart in case of an error. * minor incompatible change: Defining macros (DEFVAR, etc) which require a symbol as the name will fail to macroexpand if given a non-symbol. * enhancement: the unexported restart names SB-{ALIEN,FASL,IMPL,PCL}::RETRY have been replaced by SB-EXT:RETRY. Changes between version 1.4.14 and version 1.4.15 * enhancement: added AVX2 instructions on x86-64, which can be used with SB-SIMD-PACK. * enhancement: specializer name parsing is less lenient and signals a specific condition in case of syntax errors. (#1808681) * enhancement: provide interactive restarts for some file-system errors. * enhancement: COMPILE no longer acquires the world lock. (fixes most occurrences of #308959) * bug fix: RUN-PROGRAM is more responsive and less likely to deadlock (#1702178, #1808641) * bug fix: traceroot can search for simple-fun targets (#1808659, reported by Michal Herda) * compiler bug fixes: related to code generation: #1805899, #1806982, #1807455 related to interpreting and constant-folding: #1806513 related to the type system: #1804759, #1804796 related to eq-testing of structure slots: #1809582, #1808273 related to dynamic-extent: #1809565, #1809253, #1809485, #1739652 related to GC safety: #308949 Changes between version 1.4.13 and version 1.4.14 * enhancement: attempting to build on openbsd 6.0 or newer without the wxallowed mount option now results in a more useful error message. * enhancement: by popular demand, SB-EXT now exports two functions HEAP-ALLOCATED-P and STACK-ALLOCATED-P to assist in writing debug assertions that objects in hash-tables are not stack-allocated, etc. * bug fix: restored sb-thread support on OpenBSD. Changes between version 1.4.12 and version 1.4.13 * minor incompatible change: PRINT-TYPE and PRINT-TYPE-SPECIFIER are not exported from SB-EXT. These were never announced, so this change would only affects users who discovered these undocumented functions. * enhancement: SB-EXT:SEARCH-ROOTS and SB-EXT:GC-AND-SEARCH-ROOTS are supported on all backends that use gencgc. Changes between version 1.4.11 and version 1.4.12 * minor incompatible change: a number of platform-specific elements of *FEATURES* related to whether the system implements particular strategies have been removed. * minor incompatible change: some changes to the (internal) implementation details of the x86 and x86-64 have necessitated changes to some low-level libraries. * enhancement: attempting to transfer control through GO or RETURN-FROM to frames which no longer exist are now caught and handled by the debugger. * enhancement: identical code (at the machine instruction level) can now be shared between functions, if explicitly requested. * enhancement: SB-EXT:STRING-TO-OCTETS and SB-EXT:OCTETS-TO-STRING are now documented. * bug fixes: fix a number of bugs revealed by random testing (#1793171, #1793150, #1791550, #1792030, #1791059, #1790157, #1790717, #1790703) Changes between version 1.4.10 and version 1.4.11 * minor incompatible change: changes to the (internal) assembler on x86 and x86-64 may cause problems to some low-level third-party libraries: new macro EA for defining an effective address, without size information; an explicit size modifier is now needed for MOVSX and MOVSZ instructions; MOVD and MOVQ move a single size of operand by definition. * enhancement: support the latest MinGW (#1786731, reported by il71) * enhancement: checks for modifications of constants can now be done in local (FLET/LABELS) functions. * optimization: improved type checking routines for various compound types. * optimization: array bound checks are elided on vectors when the index is known to be less than the length, including LOOP ACROSS. * optimization: the register allocator's use of temporaries is somewhat improved. * optimization: checking widetags involves fewer conditional jumps on x86 and x86-64. * bug fix: fix a number of bugs related to constant improper lists as sequence arguments (#1768563, #1768568, #1768652) Changes between version 1.4.9 and version 1.4.10 * enhancement: added SB-EXT:MAKE-WEAK-VECTOR. * enhancement: constant-modification detection warnings can be generated in the presence of conditional constructs. * optimization: better bounds-checking on x86[-64] and ARM64. * optimization: adding 1 to or subtracting 1 from a fixnum variable does not cons. * bug fixes: fix a number of bugs revealed by random testing (#1782826, #1779878, #1779737) Changes between version 1.4.8 and version 1.4.9 * enhancement: SB-COVER instrumentation for x86[-64] has signficantly less overhead. The performance penalty for 64-bit code has been measured at around 30% slower than uninstrumented code as contrasted with slowdowns in excess of 100% previously. * enhancement: tracing a generic function with the :METHODS T option produces output corresponding to each method called under the default :ENCAPSULATE NIL tracing implementation. * bug fix: updated TRACE documentation. (#574614 was actually already fixed, but there were other issues.) * bug fix: fixed x86 GC bug causing heap corruption. (#1749369) * bug fix: improved compatibility with macOS High Sierra and graphical applications. Changes between version 1.4.7 and version 1.4.8 * bug fix: redefinition of method combinations now does the expected thing; generic functions using that method combination have their effective methods lazily recomputed according to the new definition of the method combination. (Reported by Didier Verna at ELS 2018) * bug fix: :arguments argument to the long form of DEFINE-METHOD-COMBINATION is now implemented more correctly, supporting suppliedp variables and &optional defaults. (Reported by Bruno Haible, #309084) Changes between version 1.4.6 and version 1.4.7 * enhancement: better handling of unknown keyword arguments (#1750466) * enhancement: namestrings can now be computed for certain pathnames that previously did not have namestrings because of #\. characters in their name and/or type components. * bug fix: compiling a SLEEP call with a float positive infinity argument no longer causes an internal error (#1754081) * bug fix: keyword arguments provided to a generic function with EQL-specialized methods are checked more correctly (reported by Syll, #1760987) Changes between version 1.4.5 and version 1.4.6 * enhancement: DISASSEMBLE on a symbol naming a macro will disassemble the expander, not the code that traps attempted FUNCALL of the macro. * enhancement: The sb-sprof contrib now provides an experimental interface for accessing collected profiler data. * enhancement: The instruction-level profiling of the sb-prof contrib annotates the disassembler output more efficiently. * optimization: improved dynamic-extent handling of nested variables. Changes betweenNew in version 1.4.5 * minor incompatible change: building with/without the :sb-package-locks feature is no longer an option. Package locks are always compiled in, and removing :sb-package-locks from *features* will have no effect. * enhancement: FIND-PACKAGE does not acquire a mutex * enhancement: cheneygc can perform heap relocation on startup * enhancement: in threaded builds, finalizers execute in a system-internal thread so that a user thread which invokes GC is unblocked from performing work as soon it returns from GC and invokes any post-GC hooks. As such, it is more important than before to avoid assumptions about special variable bindings in finalizers, even in single-threaded code. * optimization: faster (funcall (or function symbol)) on x86-64. Changes between version 1.4.3 and version 1.4.4 * bug fix: pathname accessors such as PATHNAME-DIRECTORY work on SYNONYM-STREAMs. * bug fix: (pathname-{device,directory,name,type} ... :case :common) works as expected. In particular MAKE-PATHNAME composed with the accessors roundtrips properly when both use the same :case. (#1739906) * bug fix: DIRECTORY no longer gets confused when the value of *DEFAULT-PATHNAME-DEFAULTS* has a name or type component. (#1740563) * bug fix: pattern pieces in pathname components are correctly escaped during unparsing. * bug fix: DELETE-DIRECTORY no longer signals an error when the directory is supplied as a pathname with name and/or type components containing escaped characters. (#1740624) * bug fix: weak hash-tables no longer cause GC time to scale superlinearly (#1241771) * bug fix: CANCEL-FINALIZATION operates in approximately constant time per operation (#1587983) * bug fix: big-endian MIPS systems now (mostly) work again (broken since 1.3.14.x). * bug fix: backtrace from arg-count errors on systems other than x86, x86-64, ARM, and ARM64 now works again. * bug fix: backtrace from asynchronous interrupts on non-x86, non-x86-64 systems should now be more reliable. * enhancement: warnings and errors referring to bindings established by LET, LET*, FLET and LABELS point to the offending form more accurately. * enhancement: backtrace for invalid argument count produces the exact supplied arguments including the extra ones on all platforms (no longer just x86, x86-64, ARM, and ARM64).
Diffstat (limited to 'lang/sbcl')
-rw-r--r--lang/sbcl/Makefile7
-rw-r--r--lang/sbcl/distinfo35
-rw-r--r--lang/sbcl/patches/patch-src_runtime_GNUmakefile25
-rw-r--r--lang/sbcl/patches/patch-src_runtime_backtrace.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_breakpoint.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_bsd-os.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_bsd-os.h15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_coreparse.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_dynbind.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_gc-common.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_gencgc.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_globals.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_interr.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_interrupt.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_monitor.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_os-common.c16
-rw-r--r--lang/sbcl/patches/patch-src_runtime_os.h15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_parse.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_purify.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_runtime.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_runtime.h15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_save.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_thread.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_validate.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_vars.c15
-rw-r--r--lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c12
-rw-r--r--lang/sbcl/patches/patch-tools-for-build_grovel-headers.c15
27 files changed, 8 insertions, 417 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile
index 4107f2296e1..5daadb0f9c8 100644
--- a/lang/sbcl/Makefile
+++ b/lang/sbcl/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.79 2019/05/23 19:23:04 rillig Exp $
+# $NetBSD: Makefile,v 1.80 2019/08/13 15:16:54 rjs Exp $
DISTNAME= ${PKGNAME_NOREV}-source
-PKGNAME= sbcl-1.4.3
-PKGREVISION= 1
+PKGNAME= sbcl-1.5.5
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sbcl/}
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= asau@inbox.ru
+MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sbcl.org/
COMMENT= SBCL, a Common Lisp implementation
diff --git a/lang/sbcl/distinfo b/lang/sbcl/distinfo
index 2d29f46f042..9d16f020bd3 100644
--- a/lang/sbcl/distinfo
+++ b/lang/sbcl/distinfo
@@ -1,32 +1,7 @@
-$NetBSD: distinfo,v 1.57 2018/10/17 12:59:49 leot Exp $
+$NetBSD: distinfo,v 1.58 2019/08/13 15:16:54 rjs Exp $
-SHA1 (sbcl-1.4.3-source.tar.bz2) = cf610061ee2e8bf90efcf830f45412b68f43d0dc
-RMD160 (sbcl-1.4.3-source.tar.bz2) = eb3024ae6980239c6784ee4d234874782870cca4
-SHA512 (sbcl-1.4.3-source.tar.bz2) = e730f4f095e2c3b52836df0beae08219a2e3883b4e20ba7303f24d8e51aec7c6d278ad6f9d57fac36b5aebec3fefb118d07bfd4ca48a44a3324345f2993fca62
-Size (sbcl-1.4.3-source.tar.bz2) = 5953041 bytes
+SHA1 (sbcl-1.5.5-source.tar.bz2) = da88b751237d6a41a4ced1c88adac02e6acbedb2
+RMD160 (sbcl-1.5.5-source.tar.bz2) = 181844dc01653babd1c5a576669f1f76e0b4654b
+SHA512 (sbcl-1.5.5-source.tar.bz2) = 9de71dfc767e7d96e278b6ffe69465be5a829d9228be4e44c7ec511cbb6cec98cce2ae99e3a40d8917832e61d587f1302861f9e1808fe0b7e1fe0e2105d4c4b8
+Size (sbcl-1.5.5-source.tar.bz2) = 6351480 bytes
SHA1 (patch-ab) = b087921f7317523fd78396518dfd2cb1c8e6d5f9
-SHA1 (patch-src_runtime_GNUmakefile) = bb1fffdaa90897d4ddcaedc3d480778917348281
-SHA1 (patch-src_runtime_backtrace.c) = ba3d7d152b279652d7074ebc9ba615c9d899f35c
-SHA1 (patch-src_runtime_breakpoint.c) = 019d98692411b5701ce14c023ed3afab71033323
-SHA1 (patch-src_runtime_bsd-os.c) = 1c2bb3ce517aea03bbc4f09708e8300085253286
-SHA1 (patch-src_runtime_bsd-os.h) = df48abd32b3b89b9d8a0ba4068c6723bea6617d6
-SHA1 (patch-src_runtime_coreparse.c) = 46f8b5ebea5ba3db7baaed124aaf15f2686f7202
-SHA1 (patch-src_runtime_dynbind.c) = 44b96758392c8d71834e665dfd62bc7464a033c9
-SHA1 (patch-src_runtime_gc-common.c) = e74f4537971ee61181f2ed9d1f88fedafd980a47
-SHA1 (patch-src_runtime_gencgc.c) = 6862366d1998205f6bcf9cfded9acda1d03a2f52
-SHA1 (patch-src_runtime_globals.c) = ad8aedc43460892edb96e55276f1343abda2b7f5
-SHA1 (patch-src_runtime_interr.c) = a12a0a6826d7dd506d6012f10f69862f2a551174
-SHA1 (patch-src_runtime_interrupt.c) = c6675f60565cc411a34e58927c9ca2510f822328
-SHA1 (patch-src_runtime_monitor.c) = cdf86207600a387fb092fa8018dd5a08f8c9f4f2
-SHA1 (patch-src_runtime_os-common.c) = 966e3d23e3b7024c4c6b4e1c704a505b1a56008f
-SHA1 (patch-src_runtime_os.h) = 68d6a85ed89e8534fe7c4178109b5208075dcee4
-SHA1 (patch-src_runtime_parse.c) = 2648ececdbc2fe21abde1565cb91b003d9676c2e
-SHA1 (patch-src_runtime_purify.c) = 8afaf55b47fb73ba08abee11ea6b7b04b77f917f
-SHA1 (patch-src_runtime_runtime.c) = 4282b1cdc47f94174d5adde3fee1f8e6c3276528
-SHA1 (patch-src_runtime_runtime.h) = 85d97c6c367ba60334c5c5ac56a34fd5a9899025
-SHA1 (patch-src_runtime_save.c) = acd4ecbf927df11e167b124258f659690ed0b782
-SHA1 (patch-src_runtime_thread.c) = 6ebd2b4e2bbe13e0e962a54b219fd4518d948fc9
-SHA1 (patch-src_runtime_validate.c) = 842f288f21fe865ab1475c5ba84b157c94aa6ec6
-SHA1 (patch-src_runtime_vars.c) = 390e56059243b02dfe31b769d1f8033aeedece90
-SHA1 (patch-src_runtime_x86-64-bsd-os.c) = 33fab747acaefc537d2f73da8be6b79ff5470dc3
-SHA1 (patch-tools-for-build_grovel-headers.c) = e91f06c7c83fbf0e32ef5607bec043029ae8879c
diff --git a/lang/sbcl/patches/patch-src_runtime_GNUmakefile b/lang/sbcl/patches/patch-src_runtime_GNUmakefile
deleted file mode 100644
index 6b80cb92a03..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_GNUmakefile
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_runtime_GNUmakefile,v 1.1 2018/10/17 12:59:49 leot Exp $
-
-Add support to invoke paxctl(8) or similar programs to adjust PaX
-permissions of src/runtime/sbcl during the build phase.
-
---- src/runtime/GNUmakefile.orig 2017-12-29 09:55:08.000000000 +0000
-+++ src/runtime/GNUmakefile
-@@ -14,6 +14,9 @@
- all: targets tags
- TARGET=sbcl
-
-+# paxctl(8) or similar programs to adjust PaX permissions of src/runtime/sbcl
-+SBCL_PAXCTL ?= :
-+
- # Defaults which might be overridden or modified by values in the
- # Config file. Most of them are same on most systems right now.
- # If you need to override one of these, do it in Config.
-@@ -78,6 +81,7 @@ targets: $(TARGET) $(OBJTARGET) sbcl.nm
-
- $(TARGET): $(LIBSBCL)
- $(CC) ${LINKFLAGS} -o $@ $(USE_LIBSBCL) $(LIBS)
-+ $(SBCL_PAXCTL) $@
-
- # ld -r -o sbcl.o works on Linux, but not on other platforms.
- # On macOS, it fails to keep debug sections.
diff --git a/lang/sbcl/patches/patch-src_runtime_backtrace.c b/lang/sbcl/patches/patch-src_runtime_backtrace.c
deleted file mode 100644
index 4aa6f50dff7..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_backtrace.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_backtrace.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/backtrace.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/backtrace.c
-@@ -16,6 +16,10 @@
- /* needed if we want dladdr() and Dl_Info from glibc's dlfcn.h */
- #define _GNU_SOURCE
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <signal.h>
- #include "sbcl.h"
diff --git a/lang/sbcl/patches/patch-src_runtime_breakpoint.c b/lang/sbcl/patches/patch-src_runtime_breakpoint.c
deleted file mode 100644
index 01f50729be8..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_breakpoint.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_breakpoint.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/breakpoint.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/breakpoint.c
-@@ -9,6 +9,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <signal.h>
-
diff --git a/lang/sbcl/patches/patch-src_runtime_bsd-os.c b/lang/sbcl/patches/patch-src_runtime_bsd-os.c
deleted file mode 100644
index a46955f7d64..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_bsd-os.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_bsd-os.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/bsd-os.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/bsd-os.c
-@@ -18,6 +18,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <sys/param.h>
- #include <sys/file.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_bsd-os.h b/lang/sbcl/patches/patch-src_runtime_bsd-os.h
deleted file mode 100644
index f9c888c4801..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_bsd-os.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_bsd-os.h,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/bsd-os.h.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/bsd-os.h
-@@ -13,6 +13,10 @@
- #include <osreldate.h>
- #endif
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <sys/types.h>
- #include <sys/mman.h>
- #include <sys/signal.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_coreparse.c b/lang/sbcl/patches/patch-src_runtime_coreparse.c
deleted file mode 100644
index 373777ecc5b..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_coreparse.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_coreparse.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/coreparse.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/coreparse.c
-@@ -14,6 +14,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "sbcl.h"
-
- #ifndef LISP_FEATURE_WIN32
diff --git a/lang/sbcl/patches/patch-src_runtime_dynbind.c b/lang/sbcl/patches/patch-src_runtime_dynbind.c
deleted file mode 100644
index 30191be425f..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_dynbind.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_dynbind.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/dynbind.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/dynbind.c
-@@ -14,6 +14,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <stdlib.h>
-
diff --git a/lang/sbcl/patches/patch-src_runtime_gc-common.c b/lang/sbcl/patches/patch-src_runtime_gc-common.c
deleted file mode 100644
index 3a00abc2c6e..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_gc-common.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_gc-common.c,v 1.3 2017/04/30 17:24:27 asau Exp $
-
---- src/runtime/gc-common.c.orig 2017-04-28 09:54:14.000000000 +0000
-+++ src/runtime/gc-common.c
-@@ -25,6 +25,10 @@
- * <ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps>.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <signal.h>
- #include <string.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_gencgc.c b/lang/sbcl/patches/patch-src_runtime_gencgc.c
deleted file mode 100644
index caf85263e72..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_gencgc.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_gencgc.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/gencgc.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/gencgc.c
-@@ -24,6 +24,10 @@
- * <ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps>.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdlib.h>
- #include <stdio.h>
- #include <errno.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_globals.c b/lang/sbcl/patches/patch-src_runtime_globals.c
deleted file mode 100644
index 77d8be828f0..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_globals.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_globals.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/globals.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/globals.c
-@@ -13,6 +13,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <sys/types.h>
- #include <unistd.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_interr.c b/lang/sbcl/patches/patch-src_runtime_interr.c
deleted file mode 100644
index 7175e32c2bd..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_interr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_interr.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/interr.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/interr.c
-@@ -13,6 +13,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <stdarg.h>
- #include <stdlib.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_interrupt.c b/lang/sbcl/patches/patch-src_runtime_interrupt.c
deleted file mode 100644
index b416c78eaea..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_interrupt.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_interrupt.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/interrupt.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/interrupt.c
-@@ -40,6 +40,10 @@
- *
- * - WHN 20000728, dan 20010128 */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "sbcl.h"
-
- #include <stdio.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_monitor.c b/lang/sbcl/patches/patch-src_runtime_monitor.c
deleted file mode 100644
index 5026a4e587d..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_monitor.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_monitor.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/monitor.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/monitor.c
-@@ -9,6 +9,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "sbcl.h"
-
- #include <stdio.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_os-common.c b/lang/sbcl/patches/patch-src_runtime_os-common.c
deleted file mode 100644
index 7c1fadc375a..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_os-common.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_runtime_os-common.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/os-common.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/os-common.c
-@@ -9,6 +9,11 @@
- * files for more information.
- */
- # define _GNU_SOURCE /* needed for RTLD_DEFAULT from dlfcn.h */
-+
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <errno.h>
- #include <string.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_os.h b/lang/sbcl/patches/patch-src_runtime_os.h
deleted file mode 100644
index a2d0d04a25d..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_os.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_os.h,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/os.h.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/os.h
-@@ -17,6 +17,10 @@
-
- #define _OS_H_INCLUDED_
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "sbcl.h"
- #include "runtime.h"
-
diff --git a/lang/sbcl/patches/patch-src_runtime_parse.c b/lang/sbcl/patches/patch-src_runtime_parse.c
deleted file mode 100644
index f4ee0faab7e..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_parse.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_parse.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/parse.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/parse.c
-@@ -11,6 +11,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <stdlib.h>
- #include <ctype.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_purify.c b/lang/sbcl/patches/patch-src_runtime_purify.c
deleted file mode 100644
index 4c6ec7d3231..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_purify.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_purify.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/purify.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/purify.c
-@@ -13,6 +13,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <sys/types.h>
- #include <stdlib.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_runtime.c b/lang/sbcl/patches/patch-src_runtime_runtime.c
deleted file mode 100644
index 70777d0fdab..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_runtime.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_runtime.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/runtime.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/runtime.c
-@@ -13,6 +13,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "sbcl.h"
-
- #include <stdio.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_runtime.h b/lang/sbcl/patches/patch-src_runtime_runtime.h
deleted file mode 100644
index 41070d1d864..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_runtime.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_runtime.h,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/runtime.h.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/runtime.h
-@@ -15,6 +15,10 @@
- #ifndef _SBCL_RUNTIME_H_
- #define _SBCL_RUNTIME_H_
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #if defined(LISP_FEATURE_WIN32) && defined(LISP_FEATURE_SB_THREAD)
- # include "pthreads_win32.h"
- #else
diff --git a/lang/sbcl/patches/patch-src_runtime_save.c b/lang/sbcl/patches/patch-src_runtime_save.c
deleted file mode 100644
index 3349d698abc..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_save.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_save.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/save.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/save.c
-@@ -9,6 +9,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #ifndef LISP_FEATURE_WIN32
- #include <sys/types.h>
- #include <sys/stat.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_thread.c b/lang/sbcl/patches/patch-src_runtime_thread.c
deleted file mode 100644
index 5d37fc23799..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_thread.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_thread.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/thread.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/thread.c
-@@ -9,6 +9,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "sbcl.h"
-
- #include <stdlib.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_validate.c b/lang/sbcl/patches/patch-src_runtime_validate.c
deleted file mode 100644
index e31663bdf79..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_validate.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_validate.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/validate.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/validate.c
-@@ -13,6 +13,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <stdlib.h>
-
diff --git a/lang/sbcl/patches/patch-src_runtime_vars.c b/lang/sbcl/patches/patch-src_runtime_vars.c
deleted file mode 100644
index 76861ab8aab..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_vars.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_runtime_vars.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/vars.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/vars.c
-@@ -9,6 +9,10 @@
- * files for more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <stdio.h>
- #include <string.h>
- #include <sys/types.h>
diff --git a/lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c b/lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c
deleted file mode 100644
index 70acdb78ab5..00000000000
--- a/lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-src_runtime_x86-64-bsd-os.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- src/runtime/x86-64-bsd-os.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ src/runtime/x86-64-bsd-os.c
-@@ -1,3 +1,7 @@
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include <signal.h>
- #include "sbcl.h"
- #include "runtime.h"
diff --git a/lang/sbcl/patches/patch-tools-for-build_grovel-headers.c b/lang/sbcl/patches/patch-tools-for-build_grovel-headers.c
deleted file mode 100644
index 00628db296d..00000000000
--- a/lang/sbcl/patches/patch-tools-for-build_grovel-headers.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-tools-for-build_grovel-headers.c,v 1.1 2016/10/12 11:35:48 asau Exp $
-
---- tools-for-build/grovel-headers.c.orig 2016-09-30 16:41:12.000000000 +0000
-+++ tools-for-build/grovel-headers.c
-@@ -18,6 +18,10 @@
- * more information.
- */
-
-+#if defined(__NetBSD__)
-+#define _KERNTYPES
-+#endif
-+
- #include "genesis/config.h"
-
- #include <stdio.h>