summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorasau <asau>2010-03-15 03:43:51 +0000
committerasau <asau>2010-03-15 03:43:51 +0000
commitdc6e7652f7f5f004be5c85224ae96ad189bd23da (patch)
tree8c2df677c757be45b18d0301edbf3a90aad5ecd4 /lang
parent8460ea998ff9b0421a7a672e0b5846cc6734fdfc (diff)
downloadpkgsrc-dc6e7652f7f5f004be5c85224ae96ad189bd23da.tar.gz
Update to Chicken 4.4.0.
Contributed by Peter Bex. New in Chicken 4.4.0: - the system can now be built with llvm-gcc and/or "clang" (the LLVM C compiler which doesn't use the GNU C frontend) - added new option `-trunk' to `chicken-install', which forces building and installing the development version of extensions in combination with `-t local' - added new option `-deploy' to `chicken-install', which builds extension for use in "deployed" applications (see below) - added option `-deploy' to `csc', the compiler driver. With this option `csc' can build fully self-contained application bundles and double-clickable Macintosh GUI apps; see the "Deployment" manual chapter for more information - the directory given to the `-prefix' option of `chicken-install' may now be a relative pathname. - removed GUI-specific runtime library (`libchicken-gui') from Windows build - GUI- and non-GUI applications now use the same runtime library - special forms of the foreign-function interface have been replaced with an internal form and syntax to allow renaming and shadowing of these forms - the new `-private-repository' option in `csc' compiles executables with the extension-repository path set to the directory from which the program was started - `csc': deprecated the `-W' and `-windows' options, added `-gui' as a platform-independent replacement - `require-extension'/`use' accepts now import-specifications - user-defined extension-specifiers and `set-extension-specifier!' have been removed - `delete-file[*]', `rename-file', `create-directory', `file-copy', `file-move', `delete-directory' and `change-directory' return their argument/destination filename on success - added the missing procedure `condition-variable-name' to the srfi-18 library unit (Thanks to Joerg Wittenberger) - the `glob?' function from the `regex' unit has been deprecated - added the procedure `scan-input-lines' to the `utils' library unit - added new runtime option `-:g' which enables GC debugging output - reclamation of unused symbols in "symbol-gc" mode (`-:w') now only takes place for symbols with an empty property-list - on Windows loading of code compiled with [non-]GUI runtime libraries will fail and produce an error message when the loading executable is linked with a different runtime system - on Windows, GUI libraries were not correctly linked by `csc' - unit posix: added setter for `file-modification-time' - the banner shows the branchname of the build, unless it's "master" - the `-no-install' option to `chicken-install' is ignored when building/installing dependencies - `chicken-uninstall' takes a glob instead of a regular expression as argument - the rename and compare functions for low-level macro-definitions accept now arbitrary s-expressions and renames/compares them recursively - `number->string' handles negative-numbers with bases different from 10 correctly (thanks to Peter Danenberg) - removed deprecated `setup-install-flag' and `setup-verbose-flag' from the `setup-api' module - added new option `-repository' to `chicken-install' (Thanks to Christian Kellermann) - removed `chicken-setup' stub program - fix to `csc' to use the correct library when fixing dynamic load paths (Thanks to Derrell Piper) - removed html documentation from distribution (the wiki manual will now be installed) - fixed bug in `reexport' which caused syntax not to be correctly reexported - previous assignments to a toplevel variable that are separated by side effect free expressions are removed - fixed windows version of `find-files' (thanks to Jim Ursetto) - documentation for extensions is not installed automatically by `chicken-install' anymore - changed binary version from "4" to "5", because the new runtime libraries are not binary-compatible with previous releases; this means all eggs have to be reinstalled and existing programs be recompiled! - added unboxing pass to compiler which results in partially dramatical performance improvements for unsafe floating-point-intensive code; unboxing is enabled on optimization levels 4 and 5 - removed rest-argument-vector optimization as it could conflict with inlining (thanks to Sven Hartrumpf) - renamed `pointer-offset' to `pointer+' and deprecated `pointer-offset' - toplevel assignments that have no other side-effects can be eliminated if it can be shown that the value is not used (the compiler will generate a warning in this case) - removed deprecated `-quiet' option in `chicken' program - removed deprecated `run-time-macros' declaration - removed deprecated `-v2' and `-v3' options in `csc' program - removed deprecated `list-of' function (it is exclusively available as `list-of?' now) - removed deprecated `stat-...' functions in posix library unit - removed deprecated `for-each-line' and `for-each-argv-line' procedures in utils library unit - added `fpinteger?' and `fpabs' - deprecated `define-compiled-syntax' - added new floating-point primitives `fpsin', `fpcos', `fptan', `fpasin', `fpacos', `fpatan', `fpatan2', `fpexp', `fplog', `fpexpt' and `fpsqrt' - heavy cleanup of floating math functions which gives much better performance, especially for code compiled in unsafe mode - calling `assert' with a single argument shows the tested expression on failure - various bugfixes and cleaning up
Diffstat (limited to 'lang')
-rw-r--r--lang/chicken/Makefile6
-rw-r--r--lang/chicken/PLIST149
-rw-r--r--lang/chicken/distinfo10
-rw-r--r--lang/chicken/patches/patch-aj13
-rw-r--r--lang/chicken/patches/patch-ak26
5 files changed, 123 insertions, 81 deletions
diff --git a/lang/chicken/Makefile b/lang/chicken/Makefile
index 2f5d4018844..f4d12040beb 100644
--- a/lang/chicken/Makefile
+++ b/lang/chicken/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2009/12/15 12:38:04 asau Exp $
+# $NetBSD: Makefile,v 1.41 2010/03/15 03:43:51 asau Exp $
#
-DISTNAME= chicken-4.3.0
+DISTNAME= chicken-4.4.0
CATEGORIES= lang
MASTER_SITES= http://chicken.wiki.br/releases/${PKGVERSION_NOREV}/ \
http://galinha.ucpel.tche.br/releases/${PKGVERSION_NOREV}/ \
@@ -22,7 +22,7 @@ USE_TOOLS+= gmake makeinfo
UNLIMIT_RESOURCES= datasize
INSTALLATION_DIRS= share/chicken
-OWN_DIRS= ${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/4
+OWN_DIRS= ${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/5
BUILD_TARGET= all
diff --git a/lang/chicken/PLIST b/lang/chicken/PLIST
index 52a09b06b0d..d5528a43dd3 100644
--- a/lang/chicken/PLIST
+++ b/lang/chicken/PLIST
@@ -1,45 +1,45 @@
-@comment $NetBSD: PLIST,v 1.25 2009/12/15 12:38:04 asau Exp $
+@comment $NetBSD: PLIST,v 1.26 2010/03/15 03:43:51 asau Exp $
bin/chicken
bin/chicken-bug
bin/chicken-install
bin/chicken-profile
-bin/chicken-setup
bin/chicken-status
bin/chicken-uninstall
bin/csc
bin/csi
include/chicken-config.h
include/chicken.h
-lib/chicken/4/chicken.import.so
-lib/chicken/4/csi.import.so
-lib/chicken/4/data-structures.import.so
-lib/chicken/4/extras.import.so
-lib/chicken/4/files.import.so
-lib/chicken/4/foreign.import.so
-lib/chicken/4/irregex.import.so
-lib/chicken/4/lolevel.import.so
-lib/chicken/4/ports.import.so
-lib/chicken/4/posix.import.so
-lib/chicken/4/regex.import.so
-lib/chicken/4/scheme.import.so
-lib/chicken/4/setup-api.import.so
-lib/chicken/4/setup-api.so
-lib/chicken/4/setup-download.import.so
-lib/chicken/4/setup-download.so
-lib/chicken/4/srfi-1.import.so
-lib/chicken/4/srfi-13.import.so
-lib/chicken/4/srfi-14.import.so
-lib/chicken/4/srfi-18.import.so
-lib/chicken/4/srfi-4.import.so
-lib/chicken/4/srfi-69.import.so
-lib/chicken/4/tcp.import.so
-lib/chicken/4/utils.import.so
+lib/chicken/5/chicken.import.so
+lib/chicken/5/csi.import.so
+lib/chicken/5/data-structures.import.so
+lib/chicken/5/extras.import.so
+lib/chicken/5/files.import.so
+lib/chicken/5/foreign.import.so
+lib/chicken/5/irregex.import.so
+lib/chicken/5/lolevel.import.so
+lib/chicken/5/ports.import.so
+lib/chicken/5/posix.import.so
+lib/chicken/5/regex.import.so
+lib/chicken/5/scheme.import.so
+lib/chicken/5/setup-api.import.so
+lib/chicken/5/setup-api.so
+lib/chicken/5/setup-download.import.so
+lib/chicken/5/setup-download.so
+lib/chicken/5/srfi-1.import.so
+lib/chicken/5/srfi-13.import.so
+lib/chicken/5/srfi-14.import.so
+lib/chicken/5/srfi-18.import.so
+lib/chicken/5/srfi-4.import.so
+lib/chicken/5/srfi-69.import.so
+lib/chicken/5/tcp.import.so
+lib/chicken/5/types.db
+lib/chicken/5/utils.import.so
lib/libchicken.a
lib/libchicken.so
-lib/libchicken.so.4
+lib/libchicken.so.5
lib/libuchicken.a
lib/libuchicken.so
-lib/libuchicken.so.4
+lib/libuchicken.so.5
man/man1/chicken-bug.1
man/man1/chicken-install.1
man/man1/chicken-profile.1
@@ -51,49 +51,50 @@ man/man1/csi.1
share/chicken/setup.defaults
share/doc/${PKGNAME}/LICENSE
share/doc/${PKGNAME}/README
-share/doc/${PKGNAME}/html/Accessing external objects.html
-share/doc/${PKGNAME}/html/Acknowledgements.html
-share/doc/${PKGNAME}/html/Basic mode of operation.html
-share/doc/${PKGNAME}/html/Bibliography.html
-share/doc/${PKGNAME}/html/Bugs and limitations.html
-share/doc/${PKGNAME}/html/C interface.html
-share/doc/${PKGNAME}/html/Callbacks.html
-share/doc/${PKGNAME}/html/Data representation.html
-share/doc/${PKGNAME}/html/Declarations.html
-share/doc/${PKGNAME}/html/Deviations from the standard.html
-share/doc/${PKGNAME}/html/Embedding.html
-share/doc/${PKGNAME}/html/Extensions to the standard.html
-share/doc/${PKGNAME}/html/Extensions.html
-share/doc/${PKGNAME}/html/Foreign type specifiers.html
-share/doc/${PKGNAME}/html/Getting started.html
-share/doc/${PKGNAME}/html/Interface to external functions and variables.html
-share/doc/${PKGNAME}/html/Locations.html
-share/doc/${PKGNAME}/html/Modules and macros.html
-share/doc/${PKGNAME}/html/Non-standard macros and special forms.html
-share/doc/${PKGNAME}/html/Non-standard read syntax.html
-share/doc/${PKGNAME}/html/Other support procedures.html
-share/doc/${PKGNAME}/html/Parameters.html
-share/doc/${PKGNAME}/html/Supported language.html
-share/doc/${PKGNAME}/html/The R5RS standard.html
-share/doc/${PKGNAME}/html/The User's Manual.html
-share/doc/${PKGNAME}/html/Unit data-structures.html
-share/doc/${PKGNAME}/html/Unit eval.html
-share/doc/${PKGNAME}/html/Unit expand.html
-share/doc/${PKGNAME}/html/Unit extras.html
-share/doc/${PKGNAME}/html/Unit files.html
-share/doc/${PKGNAME}/html/Unit library.html
-share/doc/${PKGNAME}/html/Unit lolevel.html
-share/doc/${PKGNAME}/html/Unit ports.html
-share/doc/${PKGNAME}/html/Unit posix.html
-share/doc/${PKGNAME}/html/Unit regex.html
-share/doc/${PKGNAME}/html/Unit srfi-1.html
-share/doc/${PKGNAME}/html/Unit srfi-13.html
-share/doc/${PKGNAME}/html/Unit srfi-14.html
-share/doc/${PKGNAME}/html/Unit srfi-18.html
-share/doc/${PKGNAME}/html/Unit srfi-4.html
-share/doc/${PKGNAME}/html/Unit tcp.html
-share/doc/${PKGNAME}/html/Unit utils.html
-share/doc/${PKGNAME}/html/Using the compiler.html
-share/doc/${PKGNAME}/html/Using the interpreter.html
-share/doc/${PKGNAME}/html/faq.html
-share/doc/${PKGNAME}/html/manual.css
+share/doc/${PKGNAME}/manual/Accessing external objects
+share/doc/${PKGNAME}/manual/Acknowledgements
+share/doc/${PKGNAME}/manual/Basic mode of operation
+share/doc/${PKGNAME}/manual/Bibliography
+share/doc/${PKGNAME}/manual/Bugs and limitations
+share/doc/${PKGNAME}/manual/C interface
+share/doc/${PKGNAME}/manual/Callbacks
+share/doc/${PKGNAME}/manual/Data representation
+share/doc/${PKGNAME}/manual/Declarations
+share/doc/${PKGNAME}/manual/Deployment
+share/doc/${PKGNAME}/manual/Deviations from the standard
+share/doc/${PKGNAME}/manual/Embedding
+share/doc/${PKGNAME}/manual/Extensions
+share/doc/${PKGNAME}/manual/Extensions to the standard
+share/doc/${PKGNAME}/manual/Foreign type specifiers
+share/doc/${PKGNAME}/manual/Getting started
+share/doc/${PKGNAME}/manual/Interface to external functions and variables
+share/doc/${PKGNAME}/manual/Locations
+share/doc/${PKGNAME}/manual/Modules and macros
+share/doc/${PKGNAME}/manual/Non-standard macros and special forms
+share/doc/${PKGNAME}/manual/Non-standard read syntax
+share/doc/${PKGNAME}/manual/Other support procedures
+share/doc/${PKGNAME}/manual/Parameters
+share/doc/${PKGNAME}/manual/Supported language
+share/doc/${PKGNAME}/manual/The R5RS standard
+share/doc/${PKGNAME}/manual/The User's Manual
+share/doc/${PKGNAME}/manual/Unit data-structures
+share/doc/${PKGNAME}/manual/Unit eval
+share/doc/${PKGNAME}/manual/Unit expand
+share/doc/${PKGNAME}/manual/Unit extras
+share/doc/${PKGNAME}/manual/Unit files
+share/doc/${PKGNAME}/manual/Unit library
+share/doc/${PKGNAME}/manual/Unit lolevel
+share/doc/${PKGNAME}/manual/Unit ports
+share/doc/${PKGNAME}/manual/Unit posix
+share/doc/${PKGNAME}/manual/Unit regex
+share/doc/${PKGNAME}/manual/Unit srfi-1
+share/doc/${PKGNAME}/manual/Unit srfi-13
+share/doc/${PKGNAME}/manual/Unit srfi-14
+share/doc/${PKGNAME}/manual/Unit srfi-18
+share/doc/${PKGNAME}/manual/Unit srfi-4
+share/doc/${PKGNAME}/manual/Unit srfi-69
+share/doc/${PKGNAME}/manual/Unit tcp
+share/doc/${PKGNAME}/manual/Unit utils
+share/doc/${PKGNAME}/manual/Using the compiler
+share/doc/${PKGNAME}/manual/Using the interpreter
+share/doc/${PKGNAME}/manual/faq
diff --git a/lang/chicken/distinfo b/lang/chicken/distinfo
index c3c8be0d1d4..c1ac2c4af28 100644
--- a/lang/chicken/distinfo
+++ b/lang/chicken/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.28 2009/12/15 12:38:04 asau Exp $
+$NetBSD: distinfo,v 1.29 2010/03/15 03:43:51 asau Exp $
-SHA1 (chicken-4.3.0.tar.gz) = 5a0e061f5c67d20160034126f63ad64a7b15ee57
-RMD160 (chicken-4.3.0.tar.gz) = fb823661deaf2c78b81297c9e699c70db65d4aff
-Size (chicken-4.3.0.tar.gz) = 3481208 bytes
+SHA1 (chicken-4.4.0.tar.gz) = 509b8480919e8b888caa4074de8042bcbd7ce6fb
+RMD160 (chicken-4.4.0.tar.gz) = d169632f3683e6b85515d74fee2d43c3acf2e5b2
+Size (chicken-4.4.0.tar.gz) = 3663262 bytes
+SHA1 (patch-aj) = b35f392d26cbb6cb5385b42efeddc05341137fde
+SHA1 (patch-ak) = d518fc0be7deead4c584c483943a2cd2d9584677
diff --git a/lang/chicken/patches/patch-aj b/lang/chicken/patches/patch-aj
new file mode 100644
index 00000000000..0bdb26e5ed3
--- /dev/null
+++ b/lang/chicken/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2010/03/15 03:43:51 asau Exp $
+
+--- csc.scm.orig 2010-03-09 01:15:31.000000000 +0000
++++ csc.scm
+@@ -66,7 +66,7 @@
+ (define win (or mingw msvc))
+
+ (define elf
+- (memq (software-version) '(linux freebsd solaris openbsd)))
++ (memq (software-version) '(linux netbsd freebsd solaris openbsd)))
+
+ (define (quit msg . args)
+ (fprintf (current-error-port) "~a: ~?~%" CSC_PROGRAM msg args)
diff --git a/lang/chicken/patches/patch-ak b/lang/chicken/patches/patch-ak
new file mode 100644
index 00000000000..a5166ca216a
--- /dev/null
+++ b/lang/chicken/patches/patch-ak
@@ -0,0 +1,26 @@
+$NetBSD: patch-ak,v 1.1 2010/03/15 03:43:51 asau Exp $
+
+--- csc.c.orig 2010-03-10 19:09:15.000000000 +0000
++++ csc.c
+@@ -1363,9 +1363,9 @@ if(!C_demand(3)){
+ C_save(t1);
+ C_reclaim((void*)toplevel_trampoline,NULL);}
+ toplevel_initialized=1;
+-if(!C_demand_2(2728)){
++if(!C_demand_2(2741)){
+ C_save(t1);
+-C_rereclaim2(2728*sizeof(C_word), 1);
++C_rereclaim2(2741*sizeof(C_word), 1);
+ t1=C_restore;}
+ a=C_alloc(3);
+ C_initialize_lf(lf,422);
+@@ -1373,7 +1373,8 @@ lf[1]=C_decode_literal(C_heaptop,"\376B\
+ lf[2]=C_h_intern(&lf[2],7,"mingw32");
+ lf[4]=C_h_intern(&lf[4],4,"msvc");
+ lf[6]=C_h_intern(&lf[6],6,"macosx");
+-lf[9]=C_decode_literal(C_heaptop,"\376\003\000\000\002\376\001\000\000\005linux\376\003\000\000\002\376\001\000\000\007freebsd\376\003\000\000\002\376\001\000\000\007solaris\376\003\000\000\002\376\001\000\000\007openbsd\376\377\016");
++lf[9]=C_decode_literal(C_heaptop,"\376\003\000\000\002\376\001\000\000\005linux\376\003\000\000\002\376\001\000\000\006netbsd\376\003\000\000\002\376\001\000\000\007freebsd\376\003\000\000\002\376\001\000\000\007solaris\376\003\000\000\002\376\001\000\000\007openb"
++"sd\376\377\016");
+ lf[12]=C_h_intern(&lf[12],4,"exit");
+ lf[13]=C_h_intern(&lf[13],7,"fprintf");
+ lf[14]=C_decode_literal(C_heaptop,"\376B\000\000\010~a: ~\077~%");