Hi, Ports!
This update package SBCL to the latest release 1.0.37.
Tested on i386.
Comments ? OK ?
also need to patch texinfo
makeinfo -html --css-include=foo.css bar.texinfo
Opens file foo.css, but not close it, which may lead to error:
Too many open files
I received this error when porting sbcl-1.0.37
--
Alexandr Shadchin
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/sbcl/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 17 Nov 2009 10:44:59 -0000 1.3
+++ Makefile 30 Mar 2010 21:50:04 -0000
@@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2009/11/17 10:44:59 pirofti Exp $
# not yet ported to other arches
-ONLY_FOR_ARCHS = amd64 i386
+ONLY_FOR_ARCHS= amd64 i386
COMMENT= compiler and runtime system for ANSI Common Lisp
-V = 1.0.31
+V= 1.0.37
DISTNAME= sbcl-${V}-source
PKGNAME= sbcl-${V}
WRKDIST= ${WRKDIR}/sbcl-${V}
@@ -13,7 +13,7 @@ EXTRACT_SUFX= .tar.bz2
CATEGORIES= lang
HOMEPAGE= http://www.sbcl.org/
-MAINTAINER = Joshua Elsasser <[email protected]>
+MAINTAINER= Joshua Elsasser <[email protected]>
# Public domain and BSD
PERMIT_PACKAGE_CDROM= Yes
@@ -35,14 +35,14 @@ BUILD_DEPENDS+= ::lang/sbcl
BOOTSTRAP_CMD= ${LOCALBASE}/bin/sbcl \
--disable-debugger --no-sysinit --no-userinit
.else
-BUILD_DEPENDS += ::lang/clisp
-BOOTSTRAP_CMD = ${LOCALBASE}/bin/clisp -q -norc
+BUILD_DEPENDS+= ::lang/clisp
+BOOTSTRAP_CMD= ${LOCALBASE}/bin/clisp -q -norc
.endif
.if ${MACHINE_ARCH} == "i386"
-PKG_ARGS += -Di386=1
+PKG_ARGS+= -Di386=1
.else
-PKG_ARGS += -Di386=0
+PKG_ARGS+= -Di386=0
.endif
USE_GMAKE= Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/sbcl/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 17 Nov 2009 10:45:00 -0000 1.2
+++ distinfo 30 Mar 2010 21:50:04 -0000
@@ -1,5 +1,5 @@
-MD5 (sbcl-1.0.31-source.tar.bz2) = ph/QmacsLT+hClcpjzyb9g==
-RMD160 (sbcl-1.0.31-source.tar.bz2) = 6UyQl/9BOEccF5v+Hx4sM+by4Wk=
-SHA1 (sbcl-1.0.31-source.tar.bz2) = Skt03hdPlwUKJ4WsRVmqbdSKPQk=
-SHA256 (sbcl-1.0.31-source.tar.bz2) =
0CZNbkpJ5tGBwnNI8H3nM8CYYMnNdKH76Objy3yiidw=
-SIZE (sbcl-1.0.31-source.tar.bz2) = 3354506
+MD5 (sbcl-1.0.37-source.tar.bz2) = xEsr9yT3zg8rpthbPX4kOg==
+RMD160 (sbcl-1.0.37-source.tar.bz2) = Nxq1wWoeuNVAYpojPOpLLSVGG2s=
+SHA1 (sbcl-1.0.37-source.tar.bz2) = s4fuKX6OcI0X2A5/ls9Lpn0nmkg=
+SHA256 (sbcl-1.0.37-source.tar.bz2) =
TRt3eiYJJllKEDUry3cSItFFg//0Rw8yUnHAhJLXwjI=
+SIZE (sbcl-1.0.37-source.tar.bz2) = 3397880
Index: patches/patch-contrib_asdf-module.mk
===================================================================
RCS file: /cvs/ports/lang/sbcl/patches/patch-contrib_asdf-module.mk,v
retrieving revision 1.2
diff -u -p -r1.2 patch-contrib_asdf-module.mk
--- patches/patch-contrib_asdf-module.mk 17 Nov 2009 10:45:00 -0000
1.2
+++ patches/patch-contrib_asdf-module.mk 30 Mar 2010 21:50:04 -0000
@@ -5,8 +5,8 @@ Fix 'all' target to allow building witho
Don't copy every single file when installing the contribs, only the
ones that are actually needed to load the system.
---- contrib/asdf-module.mk.orig Tue Apr 28 09:02:13 2009
-+++ contrib/asdf-module.mk Tue Jul 7 17:57:02 2009
+--- contrib/asdf-module.mk.orig Fri Jan 29 00:46:39 2010
++++ contrib/asdf-module.mk Fri Mar 5 23:26:23 2010
@@ -22,7 +22,8 @@ endif
export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS
@@ -22,5 +22,5 @@ ones that are actually needed to load th
# preserve owner, so chown after installing for the current user.
install: $(EXTRA_INSTALL_TARGETS)
- tar cf - . | ( cd "$(BUILD_ROOT)$(INSTALL_DIR)" && tar xpvf - )
-- find "$(BUILD_ROOT)$(INSTALL_DIR)" -type f -exec chown `id -u`:`id -g`
{} \;
+- find "$(BUILD_ROOT)$(INSTALL_DIR)" -exec chown `id -u`:`id -g` {} \;
+ cp -p $(SYSTEM).asd *.lisp *.fasl "$(BUILD_ROOT)$(INSTALL_DIR)"
Index: patches/patch-src_compiler_ir1util_lisp
===================================================================
RCS file: patches/patch-src_compiler_ir1util_lisp
diff -N patches/patch-src_compiler_ir1util_lisp
--- patches/patch-src_compiler_ir1util_lisp 17 Nov 2009 10:45:00 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_compiler_ir1util_lisp,v 1.1 2009/11/17 10:45:00 pirofti
Exp $
-
-Clisp 2.43 chokes on this declaration.
-
---- src/compiler/ir1util.lisp.orig Wed Jun 17 13:03:36 2009
-+++ src/compiler/ir1util.lisp Mon Jun 29 08:22:24 2009
-@@ -429,7 +429,7 @@
- (lvar-dynamic-extent it)))
-
- (defun flushable-combination-p (call)
-- (declare (combination call))
-+ (declare (type combination call))
- (let ((kind (combination-kind call))
- (info (combination-fun-info call)))
- (when (and (eq kind :known) (fun-info-p info))
Index: patches/patch-src_runtime_bsd-os_c
===================================================================
RCS file: /cvs/ports/lang/sbcl/patches/patch-src_runtime_bsd-os_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_runtime_bsd-os_c
--- patches/patch-src_runtime_bsd-os_c 17 Nov 2009 10:45:00 -0000 1.1
+++ patches/patch-src_runtime_bsd-os_c 30 Mar 2010 21:50:04 -0000
@@ -4,9 +4,9 @@ Add a flag to os_get_runtime_executable_
externally usable path is required, which means we can't use
/proc/curproc/file even if procfs happens to be mounted.
---- src/runtime/bsd-os.c.orig Wed May 13 11:13:48 2009
-+++ src/runtime/bsd-os.c Mon Jun 29 07:53:42 2009
-@@ -465,16 +465,12 @@ os_get_runtime_executable_path()
+--- src/runtime/bsd-os.c.orig Sun Oct 25 13:25:01 2009
++++ src/runtime/bsd-os.c Fri Mar 5 23:26:24 2010
+@@ -456,16 +456,12 @@ os_get_runtime_executable_path()
}
#elif defined(LISP_FEATURE_NETBSD) || defined(LISP_FEATURE_OPENBSD)
char *
Index: patches/patch-src_runtime_runtime_h
===================================================================
RCS file: /cvs/ports/lang/sbcl/patches/patch-src_runtime_runtime_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_runtime_runtime_h
--- patches/patch-src_runtime_runtime_h 17 Nov 2009 10:45:00 -0000 1.1
+++ patches/patch-src_runtime_runtime_h 30 Mar 2010 21:50:04 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_runtime_runtime_h,v 1.1 2009/11/17 10:45:00 pirofti Exp $
---- src/runtime/runtime.h.orig Mon Jun 22 06:00:14 2009
-+++ src/runtime/runtime.h Mon Jun 29 07:53:42 2009
-@@ -254,4 +254,7 @@ struct runtime_options {
+--- src/runtime/runtime.h.orig Wed Jul 29 21:15:31 2009
++++ src/runtime/runtime.h Fri Mar 5 23:26:24 2010
+@@ -272,4 +272,7 @@ struct runtime_options {
size_t thread_control_stack_size;
};
Index: patches/patch-src_runtime_save_c
===================================================================
RCS file: /cvs/ports/lang/sbcl/patches/patch-src_runtime_save_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_runtime_save_c
--- patches/patch-src_runtime_save_c 17 Nov 2009 10:45:00 -0000 1.1
+++ patches/patch-src_runtime_save_c 30 Mar 2010 21:50:04 -0000
@@ -8,9 +8,9 @@ save an executable core. This provided
accidentally embedding a core in the wrong runtime, which may be more
likely when using saved_runtime_path.
---- src/runtime/save.c.orig Sat Jan 17 02:43:57 2009
-+++ src/runtime/save.c Mon Jun 29 07:53:42 2009
-@@ -376,6 +376,25 @@ save_to_filehandle(FILE *file, char *filename, lispobj
+--- src/runtime/save.c.orig Thu Nov 12 04:11:59 2009
++++ src/runtime/save.c Fri Mar 5 23:26:24 2010
+@@ -383,6 +383,25 @@ save_to_filehandle(FILE *file, char *filename, lispobj
exit(0);
}
@@ -36,7 +36,7 @@ likely when using saved_runtime_path.
/* Slurp the executable portion of the runtime into a malloced buffer
* and return it. Places the size in bytes of the runtime into
* 'size_out'. Returns NULL if the runtime cannot be loaded from
-@@ -407,6 +426,12 @@ load_runtime(char *runtime_path, size_t *size_out)
+@@ -414,6 +433,12 @@ load_runtime(char *runtime_path, size_t *size_out)
goto lose;
}
@@ -49,7 +49,7 @@ likely when using saved_runtime_path.
fclose(input);
*size_out = size;
return buf;
-@@ -453,15 +478,19 @@ prepare_to_save(char *filename, boolean prepend_runtim
+@@ -460,15 +485,19 @@ prepare_to_save(char *filename, boolean prepend_runtim
char *runtime_path;
if (prepend_runtime) {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/sbcl/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 17 Nov 2009 10:45:00 -0000 1.2
+++ pkg/PLIST 30 Mar 2010 21:50:04 -0000
@@ -113,7 +113,11 @@ lib/sbcl/sb-posix/posix-tests.lisp
lib/sbcl/sb-posix/sb-posix.asd
lib/sbcl/sb-posix/sb-posix.fasl
lib/sbcl/sb-queue/
+lib/sbcl/sb-queue/queue.fasl
+lib/sbcl/sb-queue/queue.lisp
+lib/sbcl/sb-queue/sb-queue.asd
lib/sbcl/sb-queue/sb-queue.fasl
+lib/sbcl/sb-queue/test-queue.lisp
lib/sbcl/sb-rotate-byte/
lib/sbcl/sb-rotate-byte/compiler.fasl
lib/sbcl/sb-rotate-byte/compiler.lisp
@@ -125,6 +129,7 @@ lib/sbcl/sb-rotate-byte/rotate-byte.fasl
lib/sbcl/sb-rotate-byte/rotate-byte.lisp
lib/sbcl/sb-rotate-byte/sb-rotate-byte.asd
lib/sbcl/sb-rotate-byte/sb-rotate-byte.fasl
+lib/sbcl/sb-rotate-byte/x86-64-vm.lisp
lib/sbcl/sb-rotate-byte/x86-vm.lisp
lib/sbcl/sb-rt/
lib/sbcl/sb-rt/rt.fasl
@@ -171,6 +176,7 @@ share/doc/sbcl/BUGS
share/doc/sbcl/COPYING
share/doc/sbcl/CREDITS
share/doc/sbcl/NEWS
+share/doc/sbcl/asdf.html
share/doc/sbcl/asdf.pdf
share/doc/sbcl/html/
share/doc/sbcl/html/asdf/
@@ -272,9 +278,9 @@ share/doc/sbcl/html/sbcl/Entry-Point-Det
share/doc/sbcl/html/sbcl/Errors-During-Macroexpansion.html
share/doc/sbcl/html/sbcl/Exit-on-Errors.html
share/doc/sbcl/html/sbcl/Exiting-Commands.html
-share/doc/sbcl/html/sbcl/Extensible-Streams.html
share/doc/sbcl/html/sbcl/Extensions.html
share/doc/sbcl/html/sbcl/External-Foreign-Variables.html
+share/doc/sbcl/html/sbcl/External-Formats.html
share/doc/sbcl/html/sbcl/FASL-Format.html
share/doc/sbcl/html/sbcl/File_002ddescriptors.html
share/doc/sbcl/html/sbcl/Filenames.html
@@ -319,8 +325,18 @@ share/doc/sbcl/html/sbcl/Function-sb_002
share/doc/sbcl/html/sbcl/Function-sb_002dcover_003asave_002dcoverage_002din_002dfile.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003aadd_002dimplementation_002dpackage.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003aarray_002dstorage_002dvector.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003abytes_002dconsed_002dbetween_002dgcs.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003acancel_002dfinalization.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003adescribe_002dcompiler_002dpolicy.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003afinalize.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003agc.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003ageneration_002daverage_002dage.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003ageneration_002dbytes_002dallocated.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003ageneration_002dbytes_002dconsed_002dbetween_002dgcs.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003ageneration_002dminimum_002dage_002dbefore_002dgc.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003ageneration_002dnumber_002dof_002dgcs.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003ageneration_002dnumber_002dof_002dgcs_002dbefore_002dpromotion.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003aget_002dbytes_002dconsed.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003ahash_002dtable_002dsynchronized_002dp.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003ahash_002dtable_002dweakness.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003alist_002dall_002dtimers.html
@@ -348,6 +364,7 @@ share/doc/sbcl/html/sbcl/Function-sb_002
share/doc/sbcl/html/sbcl/Function-sb_002dext_003apurify.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003aquit.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003aremove_002dimplementation_002dpackage.html
+share/doc/sbcl/html/sbcl/Function-sb_002dext_003arestrict_002dcompiler_002dpolicy.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003arun_002dprogram.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003asave_002dlisp_002dand_002ddie.html
share/doc/sbcl/html/sbcl/Function-sb_002dext_003aschedule_002dtimer.html
@@ -484,6 +501,7 @@ share/doc/sbcl/html/sbcl/Local-_0028Unix
share/doc/sbcl/html/sbcl/Macro-common_002dlisp_003astep.html
share/doc/sbcl/html/sbcl/Macro-common_002dlisp_003atrace.html
share/doc/sbcl/html/sbcl/Macro-common_002dlisp_003auntrace.html
+share/doc/sbcl/html/sbcl/Macro-common_002dlisp_003awith_002dcompilation_002dunit.html
share/doc/sbcl/html/sbcl/Macro-sb_002dext_003adefglobal.html
share/doc/sbcl/html/sbcl/Macro-sb_002dext_003adefine_002dhash_002dtable_002dtest.html
share/doc/sbcl/html/sbcl/Macro-sb_002dext_003awith_002dlocked_002dhash_002dtable.html
@@ -554,6 +572,7 @@ share/doc/sbcl/html/sbcl/Starting-and-St
share/doc/sbcl/html/sbcl/Statistical-Profiler.html
share/doc/sbcl/html/sbcl/Step_002dBy_002dStep-Example-of-the-Foreign-Function-Interface.html
share/doc/sbcl/html/sbcl/Stopping-SBCL.html
+share/doc/sbcl/html/sbcl/Streams.html
share/doc/sbcl/html/sbcl/Structure-sb_002dext_003atimer.html
share/doc/sbcl/html/sbcl/Structure-sb_002dqueue_003aqueue.html
share/doc/sbcl/html/sbcl/Structure-sb_002dthread_003amutex.html
@@ -595,6 +614,7 @@ share/doc/sbcl/html/sbcl/Variable-sb_002
share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002adebug_002dprint_002dvariable_002dalist_002a.html
share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002aed_002dfunctions_002a.html
share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002aexit_002dhooks_002a.html
+share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002agc_002drun_002dtime_002a.html
share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002ainit_002dhooks_002a.html
share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002ainvoke_002ddebugger_002dhook_002a.html
share/doc/sbcl/html/sbcl/Variable-sb_002dext_003a_002amodule_002dprovider_002dfunctions_002a.html
@@ -615,4 +635,5 @@ share/doc/sbcl/html/sbcl/sb_002dmd5.html
share/doc/sbcl/html/sbcl/sb_002dposix.html
share/doc/sbcl/html/sbcl/sb_002dqueue.html
share/doc/sbcl/html/sbcl/sb_002drotate_002dbyte.html
+share/doc/sbcl/sbcl.html
share/doc/sbcl/sbcl.pdf
Index: makeinfo/html.c
===================================================================
RCS file: /cvs/src/gnu/usr.bin/texinfo/makeinfo/html.c,v
retrieving revision 1.2
diff -u -p -r1.2 html.c
--- makeinfo/html.c 17 Jul 2006 22:29:29 -0000 1.2
+++ makeinfo/html.c 6 Mar 2010 11:27:38 -0000
@@ -167,6 +167,9 @@ process_css_file (char *filename)
lastchar = c;
}
+ if (f != stdin)
+ fclose(f);
+
/* Reached the end of the file. We should not be still in a comment. */
if (state == comment_state)
warning (_("%s:%d: --css-file ended in comment"), filename, lineno);