summaryrefslogtreecommitdiff
path: root/lang/parrot
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2010-11-22 12:11:38 +0000
committerhe <he@pkgsrc.org>2010-11-22 12:11:38 +0000
commit32691358d573be90af57c3f3091ef8654f585f48 (patch)
treec5f12e3eae66bd04dff099a147e1f8a0f3119ecf /lang/parrot
parent57e23ce791c8f6a0491fbadccc1bc5e4fa3144d7 (diff)
downloadpkgsrc-32691358d573be90af57c3f3091ef8654f585f48.tar.gz
Update parrot from version 2.9.1 to 2.10.1.
Pkgsrc changes: o Copy FreeBSD's method to determine physical memory (fixed upstream in later versions) o Adapt to changes in the installed contents. Upstream changes: - Core + We are on github now! https://github.com/parrot/parrot + Configure, build and test subsystems were made Git-aware + New parrot_config key 'osvers' which contains Operating System Version information + Updated to the latest nqp-rx + A proper exception is now thrown on IO read errors + Garbage Collector optimizations and memory leak fixes + Deprecated charset ops were removed + Configure system learned to detect IPv6 + The mk_language_shell and create_language scripts have not yet been ported to Git. - Documentation + How To Use Git to work on Parrot https://github.com/parrot/parrot/blob/master/docs/project/git_workflow.pod + Git Terminology https://github.com/parrot/parrot/blob/master/docs/project/git_terminology.pod - Platforms - Testing + Increased coverage on: String, FixedBooleanArray, PMCProxy, LexPad - Community + Macports portfile updated to 2.6.0 + A Fedora package for PL/Parrot ( postgresql-plparrot ) was created This package allows you to write stored procedures for PostgreSQL in PIR or Rakudo Perl 6 http://pl.parrot.org + Parrot Foundation is teaming up with The Perl Foundation and taking part in Google Code-In 2010.
Diffstat (limited to 'lang/parrot')
-rw-r--r--lang/parrot/Makefile6
-rw-r--r--lang/parrot/PLIST7
-rw-r--r--lang/parrot/distinfo9
-rw-r--r--lang/parrot/patches/patch-al76
4 files changed, 90 insertions, 8 deletions
diff --git a/lang/parrot/Makefile b/lang/parrot/Makefile
index 8e4ff155236..7b36be97480 100644
--- a/lang/parrot/Makefile
+++ b/lang/parrot/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2010/10/27 06:56:03 he Exp $
+# $NetBSD: Makefile,v 1.39 2010/11/22 12:11:38 he Exp $
#
-VERSION= 2.9.1
-RTYPE= supported
+VERSION= 2.10.1
+RTYPE= devel
DISTNAME= parrot-${VERSION}
CATEGORIES= lang
MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${RTYPE}/${VERSION}/
diff --git a/lang/parrot/PLIST b/lang/parrot/PLIST
index f196b5481d1..38fd7bcfa30 100644
--- a/lang/parrot/PLIST
+++ b/lang/parrot/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2010/10/27 06:56:03 he Exp $
+@comment $NetBSD: PLIST,v 1.23 2010/11/22 12:11:38 he Exp $
bin/ops2c
bin/parrot
bin/parrot-nqp
@@ -82,6 +82,7 @@ include/parrot/${PKGVERSION}/parrot/string.h
include/parrot/${PKGVERSION}/parrot/string_funcs.h
include/parrot/${PKGVERSION}/parrot/string_primitives.h
include/parrot/${PKGVERSION}/parrot/sub.h
+include/parrot/${PKGVERSION}/parrot/sysmem.h
include/parrot/${PKGVERSION}/parrot/thr_pthread.h
include/parrot/${PKGVERSION}/parrot/thr_windows.h
include/parrot/${PKGVERSION}/parrot/thread.h
@@ -283,6 +284,8 @@ lib/parrot/${PKGVERSION}/library/Data/Dumper/Default.pbc
lib/parrot/${PKGVERSION}/library/Data/Dumper/Default.pir
lib/parrot/${PKGVERSION}/library/Digest/MD5.pbc
lib/parrot/${PKGVERSION}/library/Digest/MD5.pir
+lib/parrot/${PKGVERSION}/library/Digest/sha256.pbc
+lib/parrot/${PKGVERSION}/library/Digest/sha256.pir
lib/parrot/${PKGVERSION}/library/Getopt/Obj.pbc
lib/parrot/${PKGVERSION}/library/Getopt/Obj.pir
lib/parrot/${PKGVERSION}/library/HLL.pbc
@@ -491,6 +494,7 @@ lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Section/Perl.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Section/Tests.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Section/Tools.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Docs/Text2HTML.pm
+lib/parrot/${PKGVERSION}/tools/lib/Parrot/Git/Describe.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/H2inc.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Harness/DefaultTests.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Harness/Options.pm
@@ -527,6 +531,7 @@ lib/parrot/${PKGVERSION}/tools/lib/Parrot/Pmc2c/UtilFunctions.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Pmc2c/VTable.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Revision.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/SearchOps.pm
+lib/parrot/${PKGVERSION}/tools/lib/Parrot/SHA1.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Test.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Test/Harness.pm
lib/parrot/${PKGVERSION}/tools/lib/Parrot/Test/PGE.pm
diff --git a/lang/parrot/distinfo b/lang/parrot/distinfo
index 567df078a49..e9b198b7bc2 100644
--- a/lang/parrot/distinfo
+++ b/lang/parrot/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.32 2010/10/27 06:56:03 he Exp $
+$NetBSD: distinfo,v 1.33 2010/11/22 12:11:38 he Exp $
-SHA1 (parrot-2.9.1.tar.gz) = 165b274be6099df17b57cccfc4563730d77357b7
-RMD160 (parrot-2.9.1.tar.gz) = b4594c423a6970224bb8e5dc8df0e98d05fb1b3e
-Size (parrot-2.9.1.tar.gz) = 4121948 bytes
+SHA1 (parrot-2.10.1.tar.gz) = 5e8841c69a4968fb2b7209cee9d9c60de4802f83
+RMD160 (parrot-2.10.1.tar.gz) = 47860b735a4675ceee2e0294d4ac77c35b32af69
+Size (parrot-2.10.1.tar.gz) = 4082880 bytes
SHA1 (patch-ad) = aae66d32722d4c761132e57176469de7c7d51c88
SHA1 (patch-ae) = 373909f50385c580065a03946a1f4f5b342189fc
SHA1 (patch-ak) = 45df82c2240f4619feadc482bcf2636a6b5aa41a
+SHA1 (patch-al) = 3e61ae8fbc526dc671a0baca5cc6c1a2ea168f56
diff --git a/lang/parrot/patches/patch-al b/lang/parrot/patches/patch-al
new file mode 100644
index 00000000000..3028148262a
--- /dev/null
+++ b/lang/parrot/patches/patch-al
@@ -0,0 +1,76 @@
+$NetBSD: patch-al,v 1.1 2010/11/22 12:11:38 he Exp $
+
+Copy FreeBSD's sysmem, and s/freebsd/netbsd/.
+
+--- config/gen/platform/netbsd/sysmem.c.orig 2010-11-18 10:41:13.000000000 +0100
++++ config/gen/platform/netbsd/sysmem.c 2010-11-13 17:50:25.000000000 +0100
+@@ -0,0 +1,69 @@
++/*
++ * Copyright (C) 2010, Parrot Foundation.
++ */
++
++/*
++
++=head1 NAME
++
++config/gen/platform/netbsd/sysmem.c
++
++=head1 DESCRIPTION
++
++Get system memory information.
++
++=head2 Functions
++
++=over 4
++
++=cut
++
++*/
++#include <sys/sysctl.h>
++#include <stdio.h>
++
++/*
++
++=item C<size_t Parrot_sysmem_amount(PARROT_INTERP)>
++
++Get information about available physical memory.
++
++=cut
++
++*/
++
++size_t
++Parrot_sysmem_amount(PARROT_INTERP)
++{
++ int err = 0;
++ size_t memsize = 0;
++ char *err_msg;
++ unsigned long length = sizeof (memsize);
++
++ int selection[2] = { CTL_HW, HW_PHYSMEM };
++
++ err = sysctl(selection, 2, &memsize, &length, NULL, 0);
++
++ if (err) {
++ err_msg = strerror(err);
++ Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_EXTERNAL_ERROR,
++ "sysctl failed: %s", err_msg);
++ }
++
++ return memsize;
++}
++
++/*
++
++=back
++
++=cut
++
++*/
++
++/*
++ * Local variables:
++ * c-file-style: "parrot"
++ * End:
++ * vim: expandtab shiftwidth=4:
++ */