summaryrefslogtreecommitdiff
path: root/lang/parrot/patches
diff options
context:
space:
mode:
authorhe <he>2010-03-17 11:06:11 +0000
committerhe <he>2010-03-17 11:06:11 +0000
commitf4ed16bcdf860f97792f2da276800d2ba9614101 (patch)
tree9c44bba22fbd307cc79af8d63bc4ab8d1c051bd9 /lang/parrot/patches
parent715e290303bfd6928c3dd5d5d26b9236449183ea (diff)
downloadpkgsrc-f4ed16bcdf860f97792f2da276800d2ba9614101.tar.gz
Update from version 2.1.1 to 2.2.0.
Pkgsrc changes: o Adapt patches to upstream changes. Upstream changes: - Core changes + Most internal allocations now use the GC + RNG non-randomness fixes + Elimination of much dead code - API changes + PMCs can now be initialized from an int + Many legacy ops are removed - Platforms + Sun cc and Intel icc support have been restored + Compiler invocation no longer goes through a Perl script - Tools + NCI thunks are now generated by self-hosted PIR code
Diffstat (limited to 'lang/parrot/patches')
-rw-r--r--lang/parrot/patches/patch-ad20
-rw-r--r--lang/parrot/patches/patch-ae8
2 files changed, 14 insertions, 14 deletions
diff --git a/lang/parrot/patches/patch-ad b/lang/parrot/patches/patch-ad
index 6bca97232f6..d8351d54df6 100644
--- a/lang/parrot/patches/patch-ad
+++ b/lang/parrot/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.4 2010/01/28 13:06:19 he Exp $
+$NetBSD: patch-ad,v 1.5 2010/03/17 11:06:11 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
@@ -7,13 +7,13 @@ 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
-@@ -38,7 +38,9 @@ sub runstep {
-
- my $cmd = $conf->data->get('scriptdirexp_provisional') . q{/perldoc};
+@@ -39,7 +39,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 );
- my $content = capture_output("$cmd -ud $filename perldoc") || undef;
-+ my($stdout, $stderr, $retval) =
-+ capture_output("$cmd -u perldoc > $filename");
++ my($stdout, $stderr, $retval) =
++ capture_output("$cmd -u $filename perldoc") || undef;
+ my($content) = $retval ? undef : $stderr;
return 1 unless defined( $self->_initial_content_check($conf, $content) );
@@ -21,9 +21,9 @@ files in directories owned by root mode 0755).
@@ -68,7 +70,7 @@ E_NOTE
if ( $new_perldoc ) {
$TEMP_pod_build .= <<"END"
- ops$slash$pod: ..${slash}src${slash}ops${slash}$ops
--\t\$(PERLDOC) -ud ops${slash}$pod ..${slash}src${slash}ops${slash}$ops
-+\t\$(PERLDOC) -u ..${slash}src${slash}ops${slash}$ops > ops${slash}$pod
- \t\$(CHMOD) 0644 ops${slash}$pod
+ 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-ae b/lang/parrot/patches/patch-ae
index 9db6155dc3d..7d0a7430764 100644
--- a/lang/parrot/patches/patch-ae
+++ b/lang/parrot/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.2 2010/01/28 13:06:19 he Exp $
+$NetBSD: patch-ae,v 1.3 2010/03/17 11:06:11 he Exp $
Perldoc's -d is incompatible with doing the build as root.
@@ -8,8 +8,8 @@ Perldoc's -d is incompatible with doing the build as root.
$(TOUCH) doc-prep
packfile-c.pod: ../src/packfile.c
--#IF(new_perldoc): $(PERLDOC) -ud packfile-c.pod ../src/packfile.c
-+#IF(new_perldoc): $(PERLDOC) -u ../src/packfile.c > packfile-c.pod
- #ELSE: $(PERLDOC) -u ../src/packfile.c > packfile-c.pod
+-#IF(new_perldoc): $(PERLDOC_BIN) -ud packfile-c.pod ../src/packfile.c
++#IF(new_perldoc): $(PERLDOC_BIN) -u ../src/packfile.c > packfile-c.pod
+ #ELSE: $(PERLDOC_BIN) -u ../src/packfile.c > packfile-c.pod
clean: