summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2009-08-26 21:44:43 +0000
committerhe <he@pkgsrc.org>2009-08-26 21:44:43 +0000
commit48aaa7c3a4ea265fa5ee3542c85580181db337b2 (patch)
tree0cb09f5e5d6968a87cd5fb96b8262ecbdd2abacc /lang
parentdfc4489ca367302843be8875809f91e4f3e54cc3 (diff)
downloadpkgsrc-48aaa7c3a4ea265fa5ee3542c85580181db337b2.tar.gz
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 (limited to 'lang')
-rw-r--r--lang/parrot/Makefile7
-rw-r--r--lang/parrot/distinfo10
-rw-r--r--lang/parrot/patches/patch-af32
-rw-r--r--lang/parrot/patches/patch-ag26
4 files changed, 67 insertions, 8 deletions
diff --git a/lang/parrot/Makefile b/lang/parrot/Makefile
index 3079ca2ab3b..e3022744b6c 100644
--- a/lang/parrot/Makefile
+++ b/lang/parrot/Makefile
@@ -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 --git a/lang/parrot/distinfo b/lang/parrot/distinfo
index 875f501d984..ce777e5be94 100644
--- a/lang/parrot/distinfo
+++ b/lang/parrot/distinfo
@@ -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 --git a/lang/parrot/patches/patch-af b/lang/parrot/patches/patch-af
new file mode 100644
index 00000000000..30cb757a3bf
--- /dev/null
+++ b/lang/parrot/patches/patch-af
@@ -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 --git a/lang/parrot/patches/patch-ag b/lang/parrot/patches/patch-ag
new file mode 100644
index 00000000000..6334a830cde
--- /dev/null
+++ b/lang/parrot/patches/patch-ag
@@ -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
+ /*
+