pkgsrc-Bugs archive

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

pkg/39004: [maintainer] update lang/clisp to 2.45



>Number:         39004
>Category:       pkg
>Synopsis:       [maintainer] update lang/clisp to 2.45
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 21 09:35:00 +0000 2008
>Originator:     Aleksej Saushev <asau%inbox.ru@localhost>
>Release:        NetBSD 4.99.65
>Organization:
>Environment:
System: NetBSD asau.local 4.99.65 NetBSD 4.99.65 (KERN) #0: Tue Jun 17 23:16:48 
MSD 2008 asau%asau.local@localhost:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
        CLISP 2.45 is available for long time already.

Changes since previous (2.44.1) release:

User visible changes
--------------------

* Experimental Just-In-Time Compilation of byte-compiled closures is now
  done using GNU lightning (this is a configure-time option).
  Thanks to Yann Dauphin <yann-nicolas.dauphin%polymtl.ca@localhost>.

* New command-line option -lp adds directories to *LOAD-PATHS*.
  See <http://clisp.cons.org/impnotes/clisp.html#opt-load-paths> for details.

* New function FFI:OPEN-FOREIGN-LIBRARY allows pre-opening of shared libraries.
  See <http://clisp.cons.org/impnotes/dffi.html#dffi-open-lib> for details.

* New macro EXT:COMPILE-TIME-VALUE allows computing values at file compilation.
  See <http://clisp.podval.org/impnotes/macros3.html#compile-time-value>
  for details.

* New function FFI:FOREIGN-POINTER-INFO allows some introspection.
  See <http://clisp.cons.org/impnotes/dffi.html#fptr-info> for details.

* Versioned library symbols are now accessible via the :VERSION argument of
  DEF-CALL-OUT and DEF-C-VAR.
  Thanks to Kaz Kylheku <kkylheku%gmail.com@localhost>.
  See <http://clisp.cons.org/impnotes/dffi.html#def-call-out> for details.

* New functions GRAY:STREAM-READ-SEQUENCE and GRAY:STREAM-WRITE-SEQUENCE have
  been added for portability reasons.
  Suggested by Anton Vodonosov <avodonosov%yandex.ru@localhost>.
  See <http://clisp.cons.org/impnotes/gray.html#st-rd-seq> for details.

* New user variable CUSTOM:*SUPPRESS-SIMILAR-CONSTANT-REDEFINITION-WARNING*
  controls whether the redefinition warning is issues when the new
  constant value is visually similar to the old one.
  See <http://clisp.cons.org/impnotes/defconstant.html#defconstant-similar>
  for details.

* REPL commands can now accept arguments.
  See <http://clisp.cons.org/impnotes/repl.html> for details.

* Updated the postgresql module to PostgreSQL 8.3.
  See <http://clisp.cons.org/impnotes/postgresql.html> for details.

* Module syscalls now interfaces to <stdio.h> (for the sake of FFI modules).
  See <http://clisp.cons.org/impnotes/syscalls.html#stdio> for details.
  There are others additions there also, but they are too numerous to
  be enumerated here.

* Bug fixes:
  + Fix handling of quoted objects by READ-PRESERVING-WHITESPACE. [ 1890854 ]
  + Fix rectangle count in NEW-CLX XLIB:SET-GCONTEXT-CLIP-MASK. [ 1918017 ]
  + Fix argument handling in NEW-CLX XLIB:QUERY-COLORS. [ 1931101 ]
  + Fix compilation on systems not supporting returning void. [ 1924506 ]
  + Fix TANH floating point overflow for large floats. [ 1683394 ]
  + Avoid extra aggressive bignum overflow reporting in READ. [ 1928735 ]
  + Improved floating point number formatting. [ 1790496, 1928759 ]
  + COMPILE no longer discards MACRO doc strings. [ 1936255 ]
  + Improved accuracy of LOG on complex numbers. [ 1934968 ]
  + Fix COERCE for compound float result-types. [ 1942246 ]
  + Fix $http_proxy parsing. [ 1959436 ]
  + Fix LISTEN on buffered streams when the last character was CRLF. [ 1961475 ]
  + Cross-compilation process has been restored to its former glory,

>How-To-Repeat:
>Fix:
Remove patches/patch-ab and patches/patch-ac, apply patch below:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/clisp/Makefile,v
retrieving revision 1.67
diff -u -r1.67 Makefile
--- Makefile    29 Feb 2008 19:34:44 -0000      1.67
+++ Makefile    21 Jun 2008 08:39:35 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.67 2008/02/29 19:34:44 tnn Exp $
 #
 
-DISTNAME=      clisp-2.44.1
+DISTNAME=      clisp-2.45
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clisp/}
 #EXTRACT_SUFX= .tar.bz2
@@ -19,21 +19,26 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-USE_TOOLS+=            dvipdf gmake
-USE_PKGLOCALEDIR=      YES
+MAKE_JOBS_SAFE=                no
+
+CONFIGURE_DIRS=                .
+USE_GNU_CONFIGURE_HOST=        NO      # work around broken reasoning: 
"configure--host=..." => cross-building
 BUILD_DIRS=            src
 GNU_CONFIGURE=         YES
-UNLIMIT_RESOURCES=     stacksize
 USE_LIBTOOL=           YES
+USE_PKGLOCALEDIR=      YES
+USE_TOOLS+=            dvipdf
+UNLIMIT_RESOURCES=     stacksize
+
 CONFIGURE_ARGS+=       --fsstnd=netbsd
 CONFIGURE_ARGS+=       --without-included-regex
 CONFIGURE_ARGS+=       --with-gettext
-TEST_TARGET=           check
 MAKE_FLAGS+=           docdir=${PREFIX}/share/doc/${PKGNAME}
 MAKE_FLAGS+=           mandir=${PREFIX}/${PKGMANDIR}
 MAKE_FLAGS+=           elispdir="${PREFIX}/share/${PKGNAME}/emacs"
 MAKE_FLAGS+=           vimdir="${PREFIX}/share/${PKGNAME}/vim"
-MAKE_JOBS_SAFE=                no
+
+TEST_TARGET=           check
 
 .include "../../mk/bsd.prefs.mk"
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/clisp/distinfo,v
retrieving revision 1.20
diff -u -r1.20 distinfo
--- distinfo    13 Mar 2008 03:12:26 -0000      1.20
+++ distinfo    21 Jun 2008 08:48:00 -0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.20 2008/03/13 03:12:26 tnn Exp $
+$NetBSD$
 
-SHA1 (clisp-2.44.1.tar.gz) = 08cbf5a2f94fa1e6f29e1563e10e200f8dee8690
-RMD160 (clisp-2.44.1.tar.gz) = adf762a6df98a677da9393a52ee9a02c0e1ead09
-Size (clisp-2.44.1.tar.gz) = 8950346 bytes
+SHA1 (clisp-2.45.tar.gz) = 26fbf431a19bbb76ba442d5dec16823624756e50
+RMD160 (clisp-2.45.tar.gz) = fe5fa9fa55648205d8b7477e21278cbb76c0cf00
+Size (clisp-2.45.tar.gz) = 9076027 bytes
 SHA1 (patch-aa) = d2f1de2e0f3e02ccf4ece2a7b1ed0ce6ba025af2
-SHA1 (patch-ab) = 6559df5aaa12af5a62da7c82d08678f642845453
-SHA1 (patch-ac) = 40fbe3be932b5bec1ba98b5457866d544c2cd3e4
+SHA1 (patch-ad) = 7e591f7ba1599d2e4515a9bddda5216a4fb3a34c
diff -u /dev/null patches/patch-ad
--- /dev/null   2008-06-21 12:31:15.000000000 +0400
+++ patches/patch-ad    2008-06-21 00:43:57.000000000 +0400
@@ -0,0 +1,16 @@
+$NetBSD$
+
+No tgamma in NetBSD.
+
+--- modules/syscalls/calls.c.orig      2008-05-15 08:44:49.000000000 +0400
++++ modules/syscalls/calls.c   2008-06-21 00:13:41.000000000 +0400
+@@ -812,7 +812,9 @@
+ DEFUNF(POSIX::Y0,x) { VAL_D(y0); mv_count=1; }
+ DEFUNF(POSIX::Y1,x) { VAL_D(y1); mv_count=1; }
+ DEFUNF(POSIX::YN,i y) { VAL_ID(yn); mv_count=1; }
++#if defined(HAVE_TGAMMA)
+ DEFUNF(POSIX::TGAMMA,x) { VAL_D(tgamma); mv_count=1; }
++#endif
+ 
+ #if defined(HAVE_LGAMMA) || HAVE_DECL_LGAMMA_R
+ DEFUNF(POSIX::LGAMMA,x) {



Home | Main Index | Thread Index | Old Index