pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/polyml Update to Poly/ML Version 5.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b384f5b2be50
branches:  trunk
changeset: 568456:b384f5b2be50
user:      asau <asau%pkgsrc.org@localhost>
date:      Sun Dec 13 23:26:25 2009 +0000

description:
Update to Poly/ML Version 5.3

Major New Features

  - Addition of IDE interface support.
  - Changes to pretty-printing and equality. These are now inherited
    across module boundaries. Addition of PolyML.addPrettyPrinter
    to install a new-style pretty printer.
  - Reworked implementation of signatures reducing the memory
    requirements when a named signature is used in multiple places.
  - Improvements to printing of types and error messages.

Minor Additions and Changes

  - Support for out-of-tree builds
  - Added finalisation for foreign-function interface (CInterface)
  - Removed remaining support for ML90
  - Added PolyML.sourceLocation pseudo-function that returns the current
    source location, PolyML.raiseWithLocation that raises an exception
    with an explicit location and PolyML.exceptionLocation that returns
    the location where an exception was raised.
  - Added PolyML.Compiler.reportUnreferencedIds switch to enable reporting
    of unreferenced identifiers.
  - Added breakEx and clearEx to debugger functions.
    These enter the debugger when the code raises a given exception.
  - Improvement to resonsiveness to pipes especially in Windows.
  - Added X86-64 version of Word32 structure. 64-bit machines
    do not require 32-bit values to be "boxed".

Bug Fixes

  - Now builds on Mac OS X 10.6 (Snow Leopard)
  - Fix multi-threading on Sparc but now only supports v9 processors.
  - Fix timing-related crash when Poly/ML exits
  - Fix string argument to OS.SysErr exception
  - Fix to OS.FileSys.mkDir in Windows
  - Fix to pow(~1, n) where n is even
  - Various fixes to conform more closely to the standard.

diffstat:

 lang/polyml/Makefile         |  13 +++----------
 lang/polyml/distinfo         |   9 +++++----
 lang/polyml/patches/patch-aa |  15 +++++++++++++++
 3 files changed, 23 insertions(+), 14 deletions(-)

diffs (61 lines):

diff -r 52c845aab89a -r b384f5b2be50 lang/polyml/Makefile
--- a/lang/polyml/Makefile      Sun Dec 13 19:43:51 2009 +0000
+++ b/lang/polyml/Makefile      Sun Dec 13 23:26:25 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/03/20 21:12:51 asau Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/13 23:26:25 asau Exp $
 
-DISTNAME=      polyml.5.2.1
-PKGNAME=       polyml-5.2.1
+DISTNAME=      polyml.5.3
+PKGNAME=       polyml-5.3
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=polyml/}
 
@@ -18,13 +18,6 @@
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
 
-# Fix URL in documentation:
-SUBST_CLASSES+=                url
-SUBST_STAGE.url=       post-patch
-SUBST_MESSAGE.url=     Fixing URL in manual pages
-SUBST_FILES.url=       poly.1 polyimport.1
-SUBST_SED.url=         -e 's|http://www\.poly\.org|http://www.polyml.org|'
-
 .include "options.mk"
 
 .include "../../mk/pthread.buildlink3.mk"
diff -r 52c845aab89a -r b384f5b2be50 lang/polyml/distinfo
--- a/lang/polyml/distinfo      Sun Dec 13 19:43:51 2009 +0000
+++ b/lang/polyml/distinfo      Sun Dec 13 23:26:25 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/03/20 21:12:51 asau Exp $
+$NetBSD: distinfo,v 1.2 2009/12/13 23:26:25 asau Exp $
 
-SHA1 (polyml.5.2.1.tar.gz) = 39cc9451113d41ca9c491167cf3973dfd55b7446
-RMD160 (polyml.5.2.1.tar.gz) = 2e46e3fca7e642faed72c427c41e25e2b03fdbf5
-Size (polyml.5.2.1.tar.gz) = 4114551 bytes
+SHA1 (polyml.5.3.tar.gz) = a037cd8cf4ce4a43b685b0e0d80f3f1e20d7c9fa
+RMD160 (polyml.5.3.tar.gz) = d9a806945437c147cc41407bd596b2c435ecc21e
+Size (polyml.5.3.tar.gz) = 5289077 bytes
+SHA1 (patch-aa) = 90fc5b96f17080732343ffdefc4cad57cd0f8ff8
diff -r 52c845aab89a -r b384f5b2be50 lang/polyml/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/polyml/patches/patch-aa      Sun Dec 13 23:26:25 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2009/12/13 23:26:26 asau Exp $
+
+Use POSIX-portable make features.
+
+--- libpolyml/Makefile.in.orig 2009-10-06 12:14:17.000000000 +0400
++++ libpolyml/Makefile.in      2009-12-02 02:36:48.000000000 +0300
+@@ -744,7 +744,7 @@
+ 
+ # Special rule for x86 assembly code.
+ x86asmtemp.S: x86asm.asm
+-      sed -f $(srcdir)/masm2gas <  $< > $@ || { rm -f $@; false; }
++      sed -f $(srcdir)/masm2gas <  x86asm.asm > $@ || { rm -f $@; false; }
+ 
+ # Special rule for Power PC.  This is needed because of pecularities with MAC OS X.
+ ppcasmtemp.s: power_assembly.S



Home | Main Index | Thread Index | Old Index