pkgsrc-WIP-changes archive

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

Updated SBCL to the latest version (2.3.2). Works in macos/darwin.



Module Name:	pkgsrc-wip
Committed By:	Pete Padilla <ppadilcdx+wip%gmail.com@localhost>
Pushed By:	ppadilcdx
Date:		Sat Mar 4 10:20:27 2023 -0800
Changeset:	9b7a97aad9714177ea8b2e48e15f32f2d077a6c0

Modified Files:
	Makefile
Added Files:
	sbcl/.DS_Store
	sbcl/DESCR
	sbcl/Makefile
	sbcl/PLIST
	sbcl/distinfo
	sbcl/index.html
	sbcl/patches/patch-ab
	sbcl/patches/patch-clean.sh
	sbcl/patches/patch-make-genesis-2.sh
	sbcl/patches/patch-make-host-1.sh
	sbcl/patches/patch-make-host-2.sh
	sbcl/patches/patch-make-target-1.sh
	sbcl/patches/patch-make-target-2.sh
	sbcl/patches/patch-slam.sh

Log Message:
Updated SBCL to the latest version (2.3.2).
Works in macos/darwin.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9b7a97aad9714177ea8b2e48e15f32f2d077a6c0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                             |   1 +
 sbcl/.DS_Store                       | Bin 0 -> 6148 bytes
 sbcl/DESCR                           |   4 ++
 sbcl/Makefile                        | 114 ++++++++++++++++++++++++++++++++
 sbcl/PLIST                           |  51 ++++++++++++++
 sbcl/distinfo                        |  13 ++++
 sbcl/index.html                      | 125 +++++++++++++++++++++++++++++++++++
 sbcl/patches/patch-ab                |  26 ++++++++
 sbcl/patches/patch-clean.sh          |  14 ++++
 sbcl/patches/patch-make-genesis-2.sh |  14 ++++
 sbcl/patches/patch-make-host-1.sh    |  14 ++++
 sbcl/patches/patch-make-host-2.sh    |  14 ++++
 sbcl/patches/patch-make-target-1.sh  |  14 ++++
 sbcl/patches/patch-make-target-2.sh  |  14 ++++
 sbcl/patches/patch-slam.sh           |  13 ++++
 15 files changed, 431 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4d4e96ab92..9e5cd6f886 100644
--- a/Makefile
+++ b/Makefile
@@ -5172,6 +5172,7 @@ SUBDIR+=	samtools
 SUBDIR+=	sara
 SUBDIR+=	sarf
 SUBDIR+=	sbc
+SUBDIR+= sbcl
 SUBDIR+=	sbcl-git
 SUBDIR+=	sblim-sfcc
 SUBDIR+=	scaleway-cli
diff --git a/sbcl/.DS_Store b/sbcl/.DS_Store
new file mode 100644
index 0000000000..5008ddfcf5
Binary files /dev/null and b/sbcl/.DS_Store differ
diff --git a/sbcl/DESCR b/sbcl/DESCR
new file mode 100644
index 0000000000..dd38ebe9eb
--- /dev/null
+++ b/sbcl/DESCR
@@ -0,0 +1,4 @@
+Steel Bank Common Lisp (SBCL) is an Open Source complier and runtime
+system for ANSI Common Lisp.  It provides an interactive environment
+including an integrated native compiler, a debugger, and many
+extensions.
diff --git a/sbcl/Makefile b/sbcl/Makefile
new file mode 100644
index 0000000000..e33ff87c98
--- /dev/null
+++ b/sbcl/Makefile
@@ -0,0 +1,114 @@
+# $NetBSD: Makefile,v 1.95 2022/06/12 14:48:12 gdt Exp $
+
+DISTNAME=		${PKGNAME_NOREV}-source
+PKGNAME=		sbcl-2.3.2
+CATEGORIES=		lang
+MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=sbcl/}
+EXTRACT_SUFX=		.tar.bz2
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		http://www.sbcl.org/
+COMMENT=		SBCL, a Common Lisp implementation
+LICENSE=		mit
+
+# SBCL creates a new release with minor updates and fixes every
+# month.  The maintainer of this package does not have the time
+# to build, test, update, etc. this package that often.  If you
+# would like a newer (or older) version, this works very often:
+# 1) change the PKGNAME variable above as desired
+# 2) make fetch && make makesum && make package
+
+USE_TOOLS+=		gmake
+
+WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
+
+.include "../../mk/bsd.prefs.mk"
+
+#
+# Bootstrap section.
+#
+# SBCL needs an existing Common Lisp system to build it...
+# Currently allowed systems are CLISP, CMUCL, OpenMCL, ABCL and SBCL itself.
+#
+#  If SBCL is installed in an unusual place when trying to build this
+#  package, you may need to set the full path in SBCL_BOOT_SYSTEM and
+#  build the package with "SBCL_HOME=/path/to/SBCL/core/image/ make"
+
+#SBCL_BOOT_SYSTEM=	clisp			# CLisp
+#SBCL_BOOT_SYSTEM=	"lisp -batch"		# CMUCL
+#SBCL_BOOT_SYSTEM=	"openmcl --batch"	# OpenMCL
+#SBCL_BOOT_SYSTEM=	sbcl			# SBCL
+#SBCL_BOOT_SYSTEM=	abcl			# ABCL
+
+.if !defined(SBCL_BOOT_SYSTEM)
+# Use "clisp -ansi -on-error abort" to make the build more reproducible,
+# per Christophe Rhodes:
+SBCL_BOOT_SYSTEM=	clisp -norc -ansi -on-error abort
+BUILD_DEPENDS+=		clisp-[0-9]*:../../lang/clisp
+UNLIMIT_RESOURCES=	datasize
+.elif ${SBCL_BOOT_SYSTEM} == abcl
+BUILD_DEPENDS+=		abcl-[0-9]*:../../lang/abcl
+.endif
+
+SUBST_CLASSES+=			fix-paths
+SUBST_STAGE.fix-paths=		pre-configure
+SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
+SUBST_FILES.fix-paths=		doc/sbcl.1
+SUBST_VARS.fix-paths=		PREFIX
+SUBST_SED.fix-paths+=		-e 's,/var/log,${VARBASE}/log,g'
+
+SUBST_CLASSES+=			fix-bins
+SUBST_STAGE.fix-bins=		pre-configure
+SUBST_FILES.fix-bins=		src/runtime/Config.x86-64-sunos
+SUBST_FILES.fix-bins+=		src/runtime/Config.x86-sunos
+SUBST_FILES.fix-bins+=		contrib/asdf-module.mk
+SUBST_SED.fix-bins=		-e 's,nm ,/usr/bin/nm ,'
+SUBST_SED.fix-bins+=		-e 's,ggrep,grep,'
+SUBST_SED.fix-bins+=		-e 's,=199506L,=200112L,'
+SUBST_SED.fix-bins+=		-e 's,=500,=600,'
+
+BUILD_DEFS+=			VARBASE
+
+.if defined(TOOLS_PLATFORM.paxctl)
+SBCL_PAXCTL=	${PAXCTL} +m
+MAKE_ENV+=	SBCL_PAXCTL=${SBCL_PAXCTL:Q}
+.endif
+
+INSTALL_ENV+=	BUILD_ROOT=${DESTDIR:Q}
+INSTALL_ENV+=	INSTALL_ROOT=${PREFIX:Q}
+INSTALL_ENV+=	MAN_DIR=${PREFIX:Q}/${PKGMANDIR}
+
+NOT_PAX_MPROTECT_SAFE+=	bin/sbcl
+
+.if !empty(MACHINE_PLATFORM:MSunOS-*-i386)
+SBCL_ARCH_ARGS=		"--arch=x86"
+.elif !empty(MACHINE_PLATFORM:MSunOS-*-x86_64)
+SBCL_ARCH_ARGS=		"--arch=x86-64"
+.endif
+
+do-build:
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} make.sh --prefix=${PREFIX} ${SBCL_ARCH_ARGS} --xc-host=${SBCL_BOOT_SYSTEM:Q}
+
+post-build:
+	cd ${WRKSRC} && ${RM} -f contrib/sb-cover/test-output/*
+
+do-install:
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && ${PKGSRC_SETENV} ${INSTALL_ENV} ${SH} install.sh
+	${RM} -f ${DESTDIR}${PREFIX}/lib/sbcl/sb-posix/test-output/write-test.txt
+	${RM} -f ${DESTDIR}${PREFIX}/lib/sbcl/sb-posix/test-output/read-test.txt
+	${RM} -f ${DESTDIR}${PREFIX}/lib/sbcl/asdf-install/installer.lisp.orig
+
+do-test:
+#	for f in compiler.pure.lisp interface.pure.lisp compiler.impure.lisp debug.impure.lisp interface.impure.lisp; do mv ${WRKSRC}/tests/$$f ${WRKSRC}/tests/$$f.off || :; done
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC}/tests && ${PKGSRC_SETENV} ${TEST_ENV} ${SH} ./run-tests.sh
+
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST_SUBST+=	SUFX64=-64
+.else
+PLIST_SUBST+=	SUFX64=
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sbcl/PLIST b/sbcl/PLIST
new file mode 100644
index 0000000000..f5932d09b5
--- /dev/null
+++ b/sbcl/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD$
+bin/sbcl
+lib/sbcl/contrib/asdf.fasl
+lib/sbcl/contrib/sb-aclrepl.asd
+lib/sbcl/contrib/sb-aclrepl.fasl
+lib/sbcl/contrib/sb-bsd-sockets.asd
+lib/sbcl/contrib/sb-bsd-sockets.fasl
+lib/sbcl/contrib/sb-capstone.asd
+lib/sbcl/contrib/sb-capstone.fasl
+lib/sbcl/contrib/sb-cltl2.asd
+lib/sbcl/contrib/sb-cltl2.fasl
+lib/sbcl/contrib/sb-concurrency.asd
+lib/sbcl/contrib/sb-concurrency.fasl
+lib/sbcl/contrib/sb-cover.asd
+lib/sbcl/contrib/sb-cover.fasl
+lib/sbcl/contrib/sb-executable.asd
+lib/sbcl/contrib/sb-executable.fasl
+lib/sbcl/contrib/sb-gmp.asd
+lib/sbcl/contrib/sb-gmp.fasl
+lib/sbcl/contrib/sb-grovel.asd
+lib/sbcl/contrib/sb-grovel.fasl
+lib/sbcl/contrib/sb-introspect.asd
+lib/sbcl/contrib/sb-introspect.fasl
+lib/sbcl/contrib/sb-md5.asd
+lib/sbcl/contrib/sb-md5.fasl
+lib/sbcl/contrib/sb-mpfr.asd
+lib/sbcl/contrib/sb-mpfr.fasl
+lib/sbcl/contrib/sb-posix.asd
+lib/sbcl/contrib/sb-posix.fasl
+lib/sbcl/contrib/sb-queue.asd
+lib/sbcl/contrib/sb-queue.fasl
+lib/sbcl/contrib/sb-rotate-byte.asd
+lib/sbcl/contrib/sb-rotate-byte.fasl
+lib/sbcl/contrib/sb-rt.asd
+lib/sbcl/contrib/sb-rt.fasl
+lib/sbcl/contrib/sb-simd.asd
+lib/sbcl/contrib/sb-simd.fasl
+lib/sbcl/contrib/sb-simple-streams.asd
+lib/sbcl/contrib/sb-simple-streams.fasl
+lib/sbcl/contrib/sb-sprof.asd
+lib/sbcl/contrib/sb-sprof.fasl
+lib/sbcl/contrib/uiop.fasl
+lib/sbcl/sbcl.core
+lib/sbcl/sbcl.mk
+man/man1/sbcl.1
+share/doc/sbcl/BUGS
+share/doc/sbcl/COPYING
+share/doc/sbcl/CREDITS
+share/doc/sbcl/NEWS
+@pkgdir share/info
+@pkgdir share/doc/sbcl/html
diff --git a/sbcl/distinfo b/sbcl/distinfo
new file mode 100644
index 0000000000..b542d98bd6
--- /dev/null
+++ b/sbcl/distinfo
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.74 2022/06/12 19:05:44 wiz Exp $
+
+BLAKE2s (sbcl-2.3.2-source.tar.bz2) = 46e4c40e9c527368970480a9621b06918b11f9788299704e6bd128f97ed18403
+SHA512 (sbcl-2.3.2-source.tar.bz2) = a6e5a5f1a27485546a85a5cb42c3c92347b0d0068e7402098b1dd358b98908b498a324f96424fd7caa3b9ef19c1584e1e5ec9960556be53111204adb77cd365b
+Size (sbcl-2.3.2-source.tar.bz2) = 7344972 bytes
+SHA1 (patch-ab) = b272bee6fc39ede638cbf71106150044a2977596
+SHA1 (patch-clean.sh) = 8dd795727c2e2cba2c4b5ca8cc4972c89eb6ecaa
+SHA1 (patch-make-genesis-2.sh) = 5d61f2662795c93aabfaa18ef686725d2ed9384a
+SHA1 (patch-make-host-1.sh) = 7ecb23bf3cd4ee091a279503668a539a533b1196
+SHA1 (patch-make-host-2.sh) = c0ac2f16a670a6db2ff69b863d1f990f7ba0bef0
+SHA1 (patch-make-target-1.sh) = 9064623b0cba2fc6869f3d29ea090d55b7bdaf17
+SHA1 (patch-make-target-2.sh) = 7b288c3c320adb89cefa78a2fc93223ea4b3b66f
+SHA1 (patch-slam.sh) = 2f4d28b2d1572cd624a54f493cc7e30c3c491a3f
diff --git a/sbcl/index.html b/sbcl/index.html
new file mode 100644
index 0000000000..0326e8d2ca
--- /dev/null
+++ b/sbcl/index.html
@@ -0,0 +1,125 @@
+<!-- $NetBSD: README.pkg,v 1.41 2021/04/05 10:32:38 nia Exp $ -->
+<!-- generated by pkgsrc/mk/scripts/mkreadme -->
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<link href="../../templates/main.css" rel="stylesheet">
+<!-- make tables not look terrible on mobile... -->
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>lang/sbcl - The NetBSD Packages Collection</title>
+</head>
+<body>
+
+<a href="https://pkgsrc.org/";><img src="../../templates/pkgsrc.png" alt="pkgsrc" id="logo"></a>
+<h1><em>lang/sbcl</em> - The NetBSD Packages Collection</h1>
+
+<nav>
+<p>
+[
+<a href="../index.html"> Back to category</a>
+|
+<a href="../../index.html"> List of categories</a>
+|
+<a href="../../index-all.html"> List all packages</a>
+]
+</p>
+<p></p> <!-- spacing hack for older browsers -->
+</nav>
+
+<details open>
+<summary><em>SBCL, a Common Lisp implementation</em></summary>
+<p></p> <!-- spacing hack for older browsers -->
+<pre>
+Steel Bank Common Lisp (SBCL) is an Open Source complier and runtime
+system for ANSI Common Lisp.  It provides an interactive environment
+including an integrated native compiler, a debugger, and many
+extensions.
+
+</pre>
+</details>
+
+<ul class="package-data">
+<li><strong>Source version:</strong> <samp>sbcl-2.2.5</samp></li>
+<li><strong>Maintainer:</strong> <em>pkgsrc-users AT NetBSD.org</em></li>
+<li><strong>Website:</strong> <a href="http://www.sbcl.org/";>http://www.sbcl.org/</a></li>
+<li><strong>License:</strong> <a href="../../licenses/mit">mit</a></li>
+<li><strong>Package history:</strong>
+<a href="http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/lang/sbcl/";>cvs</a>,
+<a href="https://anonhg.NetBSD.org/pkgsrc/file/tip/lang/sbcl/";>hg</a>,
+<a href="https://github.com/NetBSD/pkgsrc/tree/trunk/lang/sbcl/";>git</a></li>
+</ul>
+
+<section>
+<h2>Build dependencies</h2>
+<a href="../../lang/clisp/index.html">lang/clisp</a>
+<a href="../../pkgtools/mktools/index.html">pkgtools/mktools</a>
+<a href="../../devel/gmake/index.html">devel/gmake</a>
+<a href="../../devel/nbpatch/index.html">devel/nbpatch</a>
+<a href="../../pkgtools/cwrappers/index.html">pkgtools/cwrappers</a>
+
+</section>
+
+<section>
+<h2>Runtime dependencies</h2>
+<em>(none)</em>
+</section>
+
+<section>
+<h2>Binary packages</h2>
+<table>
+<thead>
+<tr>
+<th>OS</th><th>Architecture</th><th>Version</th>
+</tr>
+</thead>
+<tbody>
+<tr><td><em>(none)</em></td></tr>
+
+</tbody>
+</table>
+
+<p>
+Binary packages can be installed with the high-level tool
+<a href="../../pkgtools/pkgin/index.html">pkgin</a>
+(which can be installed with pkg_add)
+or
+<a href="https://man.NetBSD.org/pkg_add.1";>pkg_add(1)</a>
+(installed by default).
+
+The NetBSD packages collection is also designed to permit
+            easy <a href="../../doc/pkgsrc.html">installation from source</a>.
+</p>
+</section>
+
+<section>
+<h2>Available build options</h2>
+<dl>
+<dt><em>(none)</em></dt>
+</dl>
+</section>
+
+<section>
+<h2>Known vulnerabilities</h2>
+<ul>
+<em>(no vulnerabilities known)</em>
+</ul>
+<p>
+The <a href="../../pkgtools/pkg_install/index.html">pkg_admin audit</a>
+command locates any installed package which has been mentioned in
+security advisories as having vulnerabilities.
+</p>
+<p>
+Please note the vulnerabilities database might not be fully accurate,
+and not every bug is exploitable with every configuration.
+<p>
+</section>
+
+<hr>
+
+<p>Problem reports, updates or suggestions for this package should be
+reported with
+<a href="http://www.NetBSD.org/support/send-pr.html";>send-pr.</a></p>
+
+</body>
+</html>
diff --git a/sbcl/patches/patch-ab b/sbcl/patches/patch-ab
new file mode 100644
index 0000000000..daae5f2c59
--- /dev/null
+++ b/sbcl/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.8 2020/08/10 23:18:52 rjs Exp $
+
+Honor PREFIX.
+
+--- doc/sbcl.1.orig	2020-07-30 19:30:02.000000000 +0000
++++ doc/sbcl.1
+@@ -423,8 +423,8 @@ This variable controls where files like 
+ add-on "contrib" systems are searched for. If it is not set, then sbcl
+ looks in \fB../lib/sbcl/\fR relative to the location of the executable,
+ or in the current directory. If your executable is in the default
+-location \fB/usr/local/bin/\fR then it will look in
+-\fB/usr/local/lib/sbcl/\fR.
++location \fB/usr/@PREFIX@/bin/\fR then it will look in
++\fB/usr/@PREFIX@/lib/sbcl/\fR.
+ 
+ .SH FILES
+ 
+@@ -457,7 +457,7 @@ been installed, the command
+ should give you access to the complete manual. Depending on your
+ installation it may also be available in HTML and PDF formats in \fIe.g.\fR
+ .IP
+-.B /usr/local/share/doc/sbcl/
++.B /usr/@PREFIX@/share/doc/sbcl/
+ .PP
+ See the SBCL homepage 
+ .IP
diff --git a/sbcl/patches/patch-clean.sh b/sbcl/patches/patch-clean.sh
new file mode 100644
index 0000000000..0f27097572
--- /dev/null
+++ b/sbcl/patches/patch-clean.sh
@@ -0,0 +1,14 @@
+$NetBSD: patch-clean.sh,v 1.1 2019/11/10 16:58:31 he Exp $
+
+Don't remove original files after patching.
+
+--- clean.sh.orig	2019-09-28 09:49:01.000000000 +0000
++++ clean.sh
+@@ -84,7 +84,6 @@ find . \( \
+         -name '*~' -o \
+         -name '#*#' -o \
+         -name '.#*' -o \
+-        -name '*.orig' -o \
+         -name '.*.orig' -o \
+         -name '*.rej' -o \
+         -name '?*.x86f' -o \
diff --git a/sbcl/patches/patch-make-genesis-2.sh b/sbcl/patches/patch-make-genesis-2.sh
new file mode 100644
index 0000000000..7af5856dfb
--- /dev/null
+++ b/sbcl/patches/patch-make-genesis-2.sh
@@ -0,0 +1,14 @@
+$NetBSD: patch-make-genesis-2.sh,v 1.1 2019/10/12 09:47:40 he Exp $
+
+Do not explicitly turn on job control, it will stall a bakcground job
+with SIGTTIN.
+
+--- make-genesis-2.sh.orig	2019-09-28 09:49:01.000000000 +0000
++++ make-genesis-2.sh
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-set -em
++set -e
+ 
+ # This is a script to be run as part of make.sh. The only time you'd
+ # want to run it by itself is if you're trying to cross-compile the
diff --git a/sbcl/patches/patch-make-host-1.sh b/sbcl/patches/patch-make-host-1.sh
new file mode 100644
index 0000000000..0c81841940
--- /dev/null
+++ b/sbcl/patches/patch-make-host-1.sh
@@ -0,0 +1,14 @@
+$NetBSD: patch-make-host-1.sh,v 1.1 2019/10/12 09:47:40 he Exp $
+
+Do not explicitly turn on job control, it will stall a bakcground job
+with SIGTTIN.
+
+--- make-host-1.sh.orig	2019-09-28 09:49:01.000000000 +0000
++++ make-host-1.sh
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-set -em
++set -e
+ 
+ # This is a script to be run as part of make.sh. The only time you'd
+ # want to run it by itself is if you're trying to cross-compile the
diff --git a/sbcl/patches/patch-make-host-2.sh b/sbcl/patches/patch-make-host-2.sh
new file mode 100644
index 0000000000..c16306fa85
--- /dev/null
+++ b/sbcl/patches/patch-make-host-2.sh
@@ -0,0 +1,14 @@
+$NetBSD: patch-make-host-2.sh,v 1.1 2019/10/12 09:47:40 he Exp $
+
+Do not explicitly turn on job control, it will stall a bakcground job
+with SIGTTIN.
+
+--- make-host-2.sh.orig	2019-09-28 09:49:01.000000000 +0000
++++ make-host-2.sh
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-set -em
++set -e
+ 
+ # This is a script to be run as part of make.sh. The only time you'd
+ # want to run it by itself is if you're trying to cross-compile the
diff --git a/sbcl/patches/patch-make-target-1.sh b/sbcl/patches/patch-make-target-1.sh
new file mode 100644
index 0000000000..43230ecec9
--- /dev/null
+++ b/sbcl/patches/patch-make-target-1.sh
@@ -0,0 +1,14 @@
+$NetBSD: patch-make-target-1.sh,v 1.1 2019/10/12 09:47:40 he Exp $
+
+Do not explicitly turn on job control, it will stall a bakcground job
+with SIGTTIN.
+
+--- make-target-1.sh.orig	2019-09-28 09:49:01.000000000 +0000
++++ make-target-1.sh
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-set -em
++set -e
+ 
+ # This is a script to be run as part of make.sh. The only time you'd
+ # want to run it by itself is if you're trying to cross-compile the
diff --git a/sbcl/patches/patch-make-target-2.sh b/sbcl/patches/patch-make-target-2.sh
new file mode 100644
index 0000000000..671b2b5309
--- /dev/null
+++ b/sbcl/patches/patch-make-target-2.sh
@@ -0,0 +1,14 @@
+$NetBSD: patch-make-target-2.sh,v 1.1 2019/10/12 09:47:40 he Exp $
+
+Do not explicitly turn on job control, it will stall a bakcground job
+with SIGTTIN.
+
+--- make-target-2.sh.orig	2019-09-28 09:49:01.000000000 +0000
++++ make-target-2.sh
+@@ -1,5 +1,5 @@
+ #!/bin/sh
+-set -em
++set -e
+ 
+ # --load argument skips compilation.
+ #
diff --git a/sbcl/patches/patch-slam.sh b/sbcl/patches/patch-slam.sh
new file mode 100644
index 0000000000..3897dc1ee7
--- /dev/null
+++ b/sbcl/patches/patch-slam.sh
@@ -0,0 +1,13 @@
+$NetBSD: patch-slam.sh,v 1.2 2020/08/10 23:18:52 rjs Exp $
+
+--- slam.sh.orig	2020-07-30 19:30:02.000000000 +0000
++++ slam.sh
+@@ -65,7 +65,7 @@ set -e
+ #######################################################################
+ 
+ warm_option=""
+-if [ "$1" == --load -o "$1" == --load-with-sb-devel ]; then
++if [ "$1" = --load -o "$1" = --load-with-sb-devel ]; then
+     warm_option="$1"
+     shift
+ fi


Home | Main Index | Thread Index | Old Index