head 1.4; access; symbols pkgsrc-2015Q4:1.2.0.28 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.26 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.24 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.22 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.20 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.18 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.16 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.14 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.12 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.10 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.6 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.2 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.1.0.10 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.8 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.6 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.4 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.2 pkgsrc-2011Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2016.03.11.20.32.30; author asau; state dead; branches; next 1.3; commitid Buwpih7lyhtBwgYy; 1.3 date 2015.12.29.23.34.46; author dholland; state Exp; branches; next 1.2; commitid J5mAcuIF0darSTOy; 1.2 date 2012.08.10.08.15.16; author marino; state Exp; branches; next 1.1; 1.1 date 2011.05.14.22.30.44; author hans; state Exp; branches; next ; desc @@ 1.4 log @Update to ECL 16.1.2 Changes since 16.0.0 * API changes - si:do-setf accepts optional parameter stores. New lambda-list: (access-fn function &optional (stores `(,(gensym)))) This change is backward compatible. - New MP functions: mp:with-rwlock mp:try-get-semaphore (non-blocking) mp:mailbox-try-read (non-blocking) mp:mailbox-try-send (non-blocking) - Added back removed C interfaces ecl_import_current_thread ecl_release_current_thread - When cl-truename encounters a broken symlink, it returns its path instead of signalling a file-error - Deprecated variables has been removed c::*suppress-compiler-warnings*, c::*suppress-compiler-notes* - Random state might be initialized by a random seed (truncated to 32bit value) or by a precomputed array. Latter is designed to allow reading back the printed random state (when printed readably), not as an array to initialize the random state. - C99 supporting compiler is mandatory for C backend. - COMPILER::*cc_is_cxx*: New variable to switch the output extension of emitted compiler code to ".cxx" when configured with "--with-c++". This eliminates compiler warnings that compiling C++ with a ".c" extension is deprecated; this is seen mostly with Clang++. - Added Clang-specific pragmas to disable return type, unused value and excessive parentheses warnings, which are fairly harmless, but annoying and clutter user output. - GRAY:CLOSE isn't specialized on T to preserve compatibility with some libraries. * Enhancements: - Added code walker (present as *feature* :walker) - Testing framework cleanup - Format fallbacks to prin1 if infinity or NaN are passed to it - Annotations are added at runtime (better integration with SLIME) - Mersenne-Twister RNG has new 64 bit implementation for appropriate machines - Add sockets implementation for android platform - Add android build target (official android support) * Issues fixed: - si:open-unix-socket-stream accepts both string and base-string (automatic coercion is performed) - Long form of DEFSETF accepts multiple-values as a store forms: (defsetf gah (x) (y z) `(list ,x ,y ,z)) (setf (gah 3) (values 3 4)) - Building with single-threaded boehm works if ECL threads are disabled - Using labels works with sharp-S-reader (read-from-string "(#1=\"Hello\" #S(sharp-s-reader.1.example-struct :A #1#))") - Generated C code works well with IEEE 754 infinities (regression tests created) - User-defined heap sizes can now exceed the size of a fixnum on 32-bit - The heap size limit was intended to be 1GB on 32-bit or 4GB on 64-bit but inconsistency between ECL_FIXNUM_BITS and FIXNUM_BITS in the code prevented the heap to grow for 64-bit. This now occurs, and a few other less visible bugs were fixed by restoring consistency to ECL_FIXNUM_BITS. - EXT:EXTERNAL-PROCESS-WAIT potential race condition fix - Building with object files not created by ECL works (CFFI wrappers) - Regression regarding initialization of build by ECL libraries from external code fixed. Static and shared libraries initialization funcitons has predetermined name while object files has randomized names. - Random state initial state generation was buggy and insecure (entropy from urandom was rejected) - Fix `listen' on streams when FILE_CNT isn't available (use read instad of fread) - `FIND' compiled with C compiler didn't respect `START' nor `END' arguments. Compiler macro is fixed now and should work as expected - `compute-applicable-methods-using-classes` bugfix @ text @$NetBSD: patch-ab,v 1.3 2015/12/29 23:34:46 dholland Exp $ Dragonfly support. Solaris build fixes. --- src/configure.orig 2012-07-24 16:51:53.000000000 +0000 +++ src/configure @@@@ -4567,6 +4567,16 @@@@ case "${host_os}" in SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION" SONAME_LDFLAGS="-Wl,-soname,SONAME" ;; + dragonfly*) + thehost='dragonfly' + THREAD_LIBS='-lpthread' + SHARED_LDFLAGS="-shared ${LDFLAGS}" + BUNDLE_LDFLAGS="-shared ${LDFLAGS}" + ECL_LDRPATH="-Wl,--rpath,~A" + clibs="" + SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION" + SONAME_LDFLAGS="-Wl,-soname,SONAME" + ;; freebsd*) thehost='freebsd' THREAD_LIBS='-lpthread' @@@@ -4606,10 +4616,12 @@@@ case "${host_os}" in ECL_LDRPATH='-Wl,-R,~A' TCPLIBS='-lsocket -lnsl -lintl' clibs='-ldl' + SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION" + SONAME_LDFLAGS="-Wl,-soname,SONAME" # We should use C99 and _XOPEN_SOURCE=600, but Solaris 10 # ships with GCC 3.4.3 which does not support C99 if test "x$GCC" = "xyes"; then - CFLAGS="${CFLAGS} -std=gnu99" + CFLAGS="${CFLAGS} -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" SHARED_LDFLAGS="-shared $SHARED_LDFLAGS" BUNDLE_LDFLAGS="-shared $BUNDLE_LDFLAGS" fi @ 1.3 log @Add patch comments. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2012/08/10 08:15:16 marino Exp $ @ 1.2 log @lang/ecl: Teach it about DragonFly Add DragonFly to the configure script. Patch for configure and aclocal.m4 will be sent to SourceForge. @ text @d1 4 a4 1 $NetBSD$ @ 1.1 log @Fix build on SunOS. @ text @d3 20 a22 3 --- src/configure.orig 2011-01-16 22:39:59.000000000 +0100 +++ src/configure 2011-05-15 00:51:26.407635767 +0200 @@@@ -4878,10 +4878,12 @@@@ case "${host_os}" in @