pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/parrot Update from version 1.4.0nb1 to 1.5.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b42f265db60
branches:  trunk
changeset: 564082:7b42f265db60
user:      he <he%pkgsrc.org@localhost>
date:      Wed Aug 26 21:44:43 2009 +0000

description:
Update from version 1.4.0nb1 to 1.5.0.

Pkgsrc changes:
 o Add patch-af and patch-ag so that the math library variant selection
   actually works as intended.

Upstream changes:

- Core
  + Removed several deprecated functions and features
  + Removed bsr, jsr, branch_cs, and ret opcodes
  + Removed global stacks system
  + Changed OPS file format to include explicit preamble
  + Changed all "new 'Iterator'" instructions into 'iter' instructions
  + Removed Configure.pl options for specifying non-working GC cores
  + Removed unexecuting code as found by Coverity
  + Improvements to the Parrot Debugger
  + Added experimental fixed-size structure allocator to the GC
  + Added experimental lazy arena allocation to the GC
  + Removed the defunct PASM1 compiler object
  + Refactored hashes, keys, and iterators
  + Added "corevm" make target to build Parrot without all the
    supporting libraries
  + Removed Random PMC type and added in a "rand" dynop
  + Optimization and Improvements to the NCI thunk generator
  + New include file libpaths.pasm
- Compilers
  + Multiple .local with same name and different type is now an
    error on IMCC.
- Platforms
  + Improved support for detecting Fink and Macports
  + Updated search directories for libraries
- Documentation
  + "Parrot Developers Guide: PIR" released to publisher and
    available to purchase
  + Improved documentation about Parrot Debugger
  + Update PGE Documentation
- Miscellaneous
  + Added tests
  + Fixes to code, documentation, and standards

diffstat:

 lang/parrot/Makefile         |   7 +++----
 lang/parrot/distinfo         |  10 ++++++----
 lang/parrot/patches/patch-af |  32 ++++++++++++++++++++++++++++++++
 lang/parrot/patches/patch-ag |  26 ++++++++++++++++++++++++++
 4 files changed, 67 insertions(+), 8 deletions(-)

diffs (100 lines):

diff -r fed2b1b57b11 -r 7b42f265db60 lang/parrot/Makefile
--- a/lang/parrot/Makefile      Wed Aug 26 21:42:25 2009 +0000
+++ b/lang/parrot/Makefile      Wed Aug 26 21:44:43 2009 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2009/08/12 02:31:18 obache Exp $
+# $NetBSD: Makefile,v 1.20 2009/08/26 21:44:43 he Exp $
 #
 
-VERSION=               1.4.0
-RTYPE=                 stable
+VERSION=               1.5.0
+RTYPE=                 devel
 DISTNAME=              parrot-${VERSION}
-PKGREVISION=           1
 CATEGORIES=            lang
 MASTER_SITES=          ftp://ftp.parrot.org/pub/parrot/releases/${RTYPE}/${VERSION}/
 
diff -r fed2b1b57b11 -r 7b42f265db60 lang/parrot/distinfo
--- a/lang/parrot/distinfo      Wed Aug 26 21:42:25 2009 +0000
+++ b/lang/parrot/distinfo      Wed Aug 26 21:44:43 2009 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.14 2009/07/27 08:23:10 he Exp $
+$NetBSD: distinfo,v 1.15 2009/08/26 21:44:43 he Exp $
 
-SHA1 (parrot-1.4.0.tar.gz) = 49072b11820c0d11f70e8ea793606604dc681c85
-RMD160 (parrot-1.4.0.tar.gz) = 0d73db75ad50ad6c8ec21fc24289637b357e4d09
-Size (parrot-1.4.0.tar.gz) = 3962947 bytes
+SHA1 (parrot-1.5.0.tar.gz) = 5b79135f8b75ca54ff9c99eb3a32773489f8dd8d
+RMD160 (parrot-1.5.0.tar.gz) = 4e4e2e774ba9ecf0f21d29ce56ad54dd21afe56a
+Size (parrot-1.5.0.tar.gz) = 3961887 bytes
 SHA1 (patch-ad) = 9002a7ca55f8f960bea669e383431b3eeb83a878
 SHA1 (patch-ae) = 72e4752112dab2f0b72ede5c45b77fd5b5554606
+SHA1 (patch-af) = b65e915473887785fad48663f9682f8c14d634d9
+SHA1 (patch-ag) = 254acf93b4d3709b22f8ece06d495b8a5f2a34d4
diff -r fed2b1b57b11 -r 7b42f265db60 lang/parrot/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/parrot/patches/patch-af      Wed Aug 26 21:44:43 2009 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-af,v 1.1 2009/08/26 21:44:43 he Exp $
+
+Initialization of the math library version needs to be done
+this way instead, ref. patch-ag
+
+--- config/gen/platform/netbsd/misc.c.orig     2009-07-08 02:19:09.000000000 +0200
++++ config/gen/platform/netbsd/misc.c
+@@ -26,17 +26,23 @@ Miscellaneous helper functions that are 
+ =item C<void Parrot_platform_init_code(void)>
+ 
+ Initialize Parrot for the NetBSD platform.
+-So far only turns off SIGFPE for Alpha.
++So far turns off SIGFPE for Alpha, and
++ensures IEEE floating-point semantics from
++the math library.
+ 
+ =cut
+ 
+ */
+ 
+ #include <signal.h>
++#include <math.h>
+ 
+ void
+ Parrot_platform_init_code(void)
+ {
++
++    _LIB_VERSION = _IEEE_;    /* force IEEE math semantics and behaviour */
++
+ #if defined(__alpha__)
+     signal(SIGFPE, SIG_IGN);
+ #endif
diff -r fed2b1b57b11 -r 7b42f265db60 lang/parrot/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/parrot/patches/patch-ag      Wed Aug 26 21:44:43 2009 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-ag,v 1.1 2009/08/26 21:44:43 he Exp $
+
+Doing a static initialization causes this to be a local variable
+in this object file.  This does not override the library version
+which is stored in a variable in the math library(!)
+
+Instead, we need to initialize _LIB_VERSION in code, ref.
+patch-af.
+
+--- config/gen/platform/netbsd/math.c.orig     2009-07-08 02:19:09.000000000 +0200
++++ config/gen/platform/netbsd/math.c
+@@ -22,14 +22,8 @@ math stuff
+ 
+ */
+ 
+-/*
+- * force atan2() to use IEEE behavior
+- */
+-
+ #include <math.h>
+ 
+-_LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
+-
+ #if DOUBLE_SIZE == 2 * INT_SIZE
+ /*
+ 



Home | Main Index | Thread Index | Old Index