diff options
author | he <he> | 2010-11-22 12:11:38 +0000 |
---|---|---|
committer | he <he> | 2010-11-22 12:11:38 +0000 |
commit | 874b2a3fa9fe1aaa4def1bddf22a4fa0854a11a7 (patch) | |
tree | c5f12e3eae66bd04dff099a147e1f8a0f3119ecf /lang/parrot/patches | |
parent | d626ae03695516af29827b7b1cb4e10d7d638785 (diff) | |
download | pkgsrc-874b2a3fa9fe1aaa4def1bddf22a4fa0854a11a7.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/patches')
-rw-r--r-- | lang/parrot/patches/patch-al | 76 |
1 files changed, 76 insertions, 0 deletions
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: ++ */ |