diff options
Diffstat (limited to 'lang/sbcl/patches')
25 files changed, 0 insertions, 383 deletions
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> |