summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2011-04-06 11:25:30 +0000
committerhe <he@pkgsrc.org>2011-04-06 11:25:30 +0000
commitc6bbc0ec3ac40eafe31ef85454ae98a703526cda (patch)
tree8a88fc52fcf927a1f0c2306ae0b1c31dda425193 /lang
parent73e926595464b89128f8ebc2144bbaccbba33632 (diff)
downloadpkgsrc-c6bbc0ec3ac40eafe31ef85454ae98a703526cda.tar.gz
Ahem, add in the explanation I had written for the new patch..
Diffstat (limited to 'lang')
-rw-r--r--lang/parrot/distinfo4
-rw-r--r--lang/parrot/patches/patch-am8
2 files changed, 9 insertions, 3 deletions
diff --git a/lang/parrot/distinfo b/lang/parrot/distinfo
index 257281760ae..a47b94beb80 100644
--- a/lang/parrot/distinfo
+++ b/lang/parrot/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.37 2011/04/06 11:22:57 he Exp $
+$NetBSD: distinfo,v 1.38 2011/04/06 11:25:30 he Exp $
SHA1 (parrot-3.2.0.tar.gz) = 06bbd16039bb2bac7397068a7ba2c9a6a36dd749
RMD160 (parrot-3.2.0.tar.gz) = 95ea31bacc3484decadb8926cd38fba5d99f55fc
Size (parrot-3.2.0.tar.gz) = 3955517 bytes
SHA1 (patch-ad) = a972d48a879e541f6894f2eeb82a70b1756437d9
SHA1 (patch-ak) = 19d7dfff43bb08ba046040771e45b95774e024b7
-SHA1 (patch-am) = 895cfc780c291837cf1c380b988351e45d50dc82
+SHA1 (patch-am) = 3e1cc7a4f99a972eb352e90701f8415a3f443c4a
diff --git a/lang/parrot/patches/patch-am b/lang/parrot/patches/patch-am
index f31358f0b38..946a51d2ed7 100644
--- a/lang/parrot/patches/patch-am
+++ b/lang/parrot/patches/patch-am
@@ -1,4 +1,10 @@
-$NetBSD: patch-am,v 1.1 2011/04/06 11:22:57 he Exp $
+$NetBSD: patch-am,v 1.2 2011/04/06 11:25:31 he Exp $
+
+Perl uses stat(2) and lstat(2) directly, and those system calls may
+not fill in st_rdev, leaving garbage behind. Parrot, on the other hand,
+sets the st_rdev member always to 0 in stat_buf_to_array() in dynpmc/os.pmc,
+so compensate for this by zeroing the st_rdev member from the perl stat
+and lstat operations.
--- t/dynpmc/os.t.orig 2011-03-15 08:01:43.000000000 +0000
+++ t/dynpmc/os.t