summaryrefslogtreecommitdiff
path: root/lang/parrot/patches
diff options
context:
space:
mode:
authorhe <he>2011-04-06 11:22:57 +0000
committerhe <he>2011-04-06 11:22:57 +0000
commit4a41761b4fa5675abc73fb1158b370b2568b73e0 (patch)
tree19726b434ed0e4c53c5ceba878679c5d4e29a0f5 /lang/parrot/patches
parent2ec159a3b6ffce333dd28999ee494f8fe3e7c9d2 (diff)
downloadpkgsrc-4a41761b4fa5675abc73fb1158b370b2568b73e0.tar.gz
Update parrot from version 3.1.0 to 3.2.0.
Pkgsrc changes: o Adapt existing patches to changes in upstream code o Add a fix for the stat() / lstat() tests in parrot; will be reported upstream as a bug. Upstream changes: - Core + Full support for Unicode filenames on Linux and Win32 + The configuration option --cxx is gone + New Generational GC implemented. To enable it run Configure.pl --gc=gms + Now op definitions are semantically parsed. It opens possibilities for future optimizations of parrot core. + A statement convert the '.param' PIR systax + A PMC is implemented for low-level buffer access which separate the representation from the pointers + Support added for 'long double', 'long long', and 64-bit to StructView + In math.h are tools available for Inf/NaN + Signature PMCs are used pervasively - Languages + A few tests in Cardinal are fixed + A binary .dmg is created of Rakudo Star for OS X + Winxed - Minor fixes, refactors and cleaning - New predefs replace, push and provide a way to access multiple return values - Operators exits, class and .* (indirect method call) added - $loadlib directive - -o option to installable driver added - Indent generated PIR is added to improve clarity and avoid imcc pitfalls with non indented sub bodys - Community + M0 roadmap is in progress - Documentation + 'make docs' target, which was serving only to generate superfluous POD files, has been removed. + Svn remnants from PDDs are removed - Tests + Added 'make release_check' target so that Release Manager can double-check tarball + Probes added for 'long long' and 64-bit C types - Rosella Rosella is a collection of tools and building blocks for Parrot + A working proxy library is created, that make mostly-transparent custom proxies for many types of Parrot PMCs + A mockobject testing library is created, using the new proxy library + The PLA test suite is updated to use the new Rosella testing tools, including the new mockobjects to test callbacks
Diffstat (limited to 'lang/parrot/patches')
-rw-r--r--lang/parrot/patches/patch-ad15
-rw-r--r--lang/parrot/patches/patch-am20
2 files changed, 23 insertions, 12 deletions
diff --git a/lang/parrot/patches/patch-ad b/lang/parrot/patches/patch-ad
index d8351d54df6..a48a3359e5b 100644
--- a/lang/parrot/patches/patch-ad
+++ b/lang/parrot/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.5 2010/03/17 11:06:11 he Exp $
+$NetBSD: patch-ad,v 1.6 2011/04/06 11:22:57 he Exp $
Allow parrot to detect perldoc when run as root. Perldoc changes
uid to 'nobody', 'nouser' or uid -2 when run as root, so it won't
be able to write files created by root with mode 0600 (or create new
files in directories owned by root mode 0755).
---- config/auto/perldoc.pm.orig 2009-12-15 18:22:07.000000000 +0100
+--- config/auto/perldoc.pm.orig 2011-03-15 08:01:43.000000000 +0000
+++ config/auto/perldoc.pm
-@@ -39,7 +39,9 @@ sub runstep {
+@@ -38,7 +38,9 @@ sub runstep {
my $slash = $conf->data->get('slash');
my $cmd = $conf->data->get('scriptdirexp_provisional') . $slash . q{perldoc};
my ( $fh, $filename ) = tempfile( UNLINK => 1 );
@@ -18,12 +18,3 @@ files in directories owned by root mode 0755).
return 1 unless defined( $self->_initial_content_check($conf, $content) );
-@@ -68,7 +70,7 @@ E_NOTE
- if ( $new_perldoc ) {
- $TEMP_pod_build .= <<"END"
- ops/$pod: ../src/ops/$ops
--\t\$(PERLDOC_BIN) -ud ops/$pod ../src/ops/$ops
-+\t\$(PERLDOC_BIN) -u ../src/ops/$ops > ops/$pod
- \t\$(CHMOD) 0644 ops/$pod
-
- END
diff --git a/lang/parrot/patches/patch-am b/lang/parrot/patches/patch-am
new file mode 100644
index 00000000000..f31358f0b38
--- /dev/null
+++ b/lang/parrot/patches/patch-am
@@ -0,0 +1,20 @@
+$NetBSD: patch-am,v 1.1 2011/04/06 11:22:57 he Exp $
+
+--- t/dynpmc/os.t.orig 2011-03-15 08:01:43.000000000 +0000
++++ t/dynpmc/os.t
+@@ -324,6 +324,7 @@ my $stat;
+
+ my $count = $MSWin32 ? 11 : 13;
+ my @s = stat('xpto');
++$s[6] = 0; # Parrot does this internally...
+ if ( $cygwin ) {
+ # Mask inode number (fudge it)
+ $s[1] &= 0xffffffff;
+@@ -483,6 +484,7 @@ SKIP: {
+ skip 'broken test TT #457', 1 if $solaris;
+
+ my @s = lstat('xpto');
++ $s[6] = 0; # Parrot does this internally...
+ if ($cygwin) {
+ # Mask inode number (fudge it)
+ $s[1] &= 0xffffffff;