summaryrefslogtreecommitdiff
path: root/lang/parrot/patches
diff options
context:
space:
mode:
authorhe <he>2012-03-08 10:11:23 +0000
committerhe <he>2012-03-08 10:11:23 +0000
commit0805add563d792ef2fa0f9868fd9e345f833f717 (patch)
tree7846febb1776aad166b71a1794a1e9e7be5c5ede /lang/parrot/patches
parentc641d4a54948bad5291a2b4ce66132b1285056bf (diff)
downloadpkgsrc-0805add563d792ef2fa0f9868fd9e345f833f717.tar.gz
Update parrot to version 3.10.0. Subsequent updates to follow...
Pkgsrc changes: * Adapt to changes in list of installed files * Remove a now-irrelevant patch, add another as a workaround for a timing-dependent patch (done differently in later revisions) Upstream changes: - Core + The mark VTABLE was added to the Select PMC + The Parrot::Embed Perl 5 module was removed from parrot.git and now lives at https://github.com/parrot/parrot-embed + A set_random method was added to the Integer PMC, so random numbers can be generated without needing to load math dynops + A new implementation of green threads was added to Parrot, in preparation for a robust hybrid threading system. Green threads are currently not available on Windows. - Languages + Winxed - 'multi' modifier improved - throw "string" now emits throw instead of die - several optimizations in generated code - improved some error dianostics - Community + Parrot Foundation was accepted to Google Code-In 2011. We could always use more volunteers. Task ideas are on the wiki: https://github.com/parrot/parrot/wiki/Google-Code-In-Task-Ideas - Documentation - Tests + Added tests for recently-fixed bugs using return :flat and ResizableStringArrays.
Diffstat (limited to 'lang/parrot/patches')
-rw-r--r--lang/parrot/patches/patch-al15
-rw-r--r--lang/parrot/patches/patch-am17
2 files changed, 17 insertions, 15 deletions
diff --git a/lang/parrot/patches/patch-al b/lang/parrot/patches/patch-al
deleted file mode 100644
index fdc9699967d..00000000000
--- a/lang/parrot/patches/patch-al
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-al,v 1.3 2012/02/09 10:39:25 he Exp $
-
-Parrot may end up doing usleep(1000000), which is disallowed by SUSv2.
-
---- src/scheduler.c.orig 2011-10-18 22:44:11.000000000 +0000
-+++ src/scheduler.c
-@@ -993,7 +993,7 @@ Parrot_cx_schedule_sleep(PARROT_INTERP,
- Parrot_cx_runloop_wake(interp, interp->scheduler);
-
- /* A more primitive, platform-specific, non-threaded form of sleep. */
-- if (time > 1) {
-+ if (time >= 1) {
- /* prevent integer overflow when converting to microseconds
- * and problems in platforms that doesn't allow usleep more
- * than 1 second */
diff --git a/lang/parrot/patches/patch-am b/lang/parrot/patches/patch-am
new file mode 100644
index 00000000000..560fd91e84b
--- /dev/null
+++ b/lang/parrot/patches/patch-am
@@ -0,0 +1,17 @@
+$NetBSD: patch-am,v 1.4 2012/03/08 10:11:24 he Exp $
+
+This test is timing-dependent, allow more time for the asynchronous
+callbacks to complete and/or a slower build + test machine.
+(Reportedly fixed in newer versions.)
+
+--- t/pmc/nci.t.orig 2012-03-06 08:42:14.000000000 +0000
++++ t/pmc/nci.t
+@@ -1917,7 +1917,7 @@ OUTPUT
+
+ # Need to force reschedule to see async callbacks.
+ # Chandon TODO: Is this a bug?
+- sleep 0.001
++ sleep 0.02
+
+ # reset int_cb_D4 to 1
+ int_cb_D4[0] = 1