summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-09-09 20:35:43 +0000
committersno <sno@pkgsrc.org>2010-09-09 20:35:43 +0000
commitf40e5a7a9234004ef12c33f823a9dd4840e4a14f (patch)
tree7539b4d431ebfd5adf0bf9cba77a2a3e3bf1905c /lang/perl5
parent30c7a942da5b2c9748e67644ed272621837a14df (diff)
downloadpkgsrc-f40e5a7a9234004ef12c33f823a9dd4840e4a14f.tar.gz
Updating lang/perl5 from 5.12.1nb2 to 5.12.2
Upstream changes: Incompatible Changes There are no changes intentionally incompatible with 5.12.1. If any exist, they are bugs and reports are welcome. Core Enhancements Other than the bug fixes listed below, there should be no user-visible changes to the core language in this release. Modules and Pragmata New Modules and Pragmata This release does not introduce any new modules or pragmata. Pragmata Changes In the previous release, no VERSION; statements triggered a bug which could cause feature bundles to be loaded and strict mode to be enabled unintentionally. Updated Modules Carp Upgraded from version 1.16 to 1.17. Carp now detects incomplete caller() overrides and avoids using bogus @DB::args. To provide backtraces, Carp relies on particular behaviour of the caller built-in. Carp now detects if other code has overridden this with an incomplete implementation, and modifies its backtrace accordingly. Previously incomplete overrides would cause incorrect values in backtraces (best case), or obscure fatal errors (worst case) This fixes certain cases of Bizarre copy of ARRAY caused by modules overriding caller() incorrectly. CPANPLUS A patch to cpanp-run-perl has been backported from CPANPLUS 0.9004. This resolves [perl #55964] and [perl #57106], both of which related to failures to install distributions that use Module::Install::DSL. File::Glob A regression which caused a failure to find CORE::GLOBAL::glob after loading File::Glob to crash has been fixed. Now, it correctly falls back to external globbing via pp_glob. File::Copy File::Copy::copy(FILE, DIR) is now documented. File::Spec Upgraded from version 3.31 to 3.31_01. Several portability fixes were made in File::Spec::VMS: a colon is now recognized as a delimiter in native filespecs; caret-escaped delimiters are recognized for better handling of extended filespecs; catpath() returns an empty directory rather than the current directory if the input directory name is empty; abs2rel() properly handles Unix-style input. Utility Changes * perlbug now always gives the reporter a chance to change the email address it guesses for them. * perlbug should no longer warn about uninitialized values when using the -d and -v options. Changes to Existing Documentation * The existing policy on backward-compatibility and deprecation has been added to perlpolicy, along with definitions of terms like deprecation. * "srand" in perlfunc's usage has been clarified. * The entry for "die" in perlfunc was reorganized to emphasize its role in the exception mechanism. * Perl's INSTALL file has been clarified to explicitly state that Perl requires a C89 compliant ANSI C Compiler. * IO::Socket's getsockopt() and setsockopt() have been documented. * alarm()'s inability to interrupt blocking IO on Windows has been documented. * Math::TrulyRandom hasn't been updated since 1996 and has been removed as a recommended solution for random number generation. * perlrun has been updated to clarify the behaviour of octal flags to perl. * To ease user confusion, $# and $*, two special variables that were removed in earlier versions of Perl have been documented. * The version of perlfaq shipped with the Perl core has been updated from the official FAQ version, which is now maintained in the briandfoy/perlfaq branch of the Perl repository at git://perl5.git.perl.org/perl.git. Installation and Configuration Improvements Configuration improvements * The d_u32align configuration probe on ARM has been fixed. Compilation improvements * An "incompatible operand types" error in ternary expressions when building with clang has been fixed. * Perl now skips setuid File::Copy tests on partitions it detects to be mounted as nosuid. Selected Bug Fixes * A possible segfault in the T_PRTOBJ default typemap has been fixed. * A possible memory leak when using caller() to set @DB::args has been fixed. * Several memory leaks when loading XS modules were fixed. * unpack() now handles scalar context correctly for %32H and %32u, fixing a potential crash. split() would crash because the third item on the stack wasn't the regular expression it expected. unpack("%2H", ...) would return both the unpacked result and the checksum on the stack, as would unpack("%2u", ...). [perl #73814] * Perl now avoids using memory after calling free() in pp_require when there are CODEREFs in @INC. * A bug that could cause "Unknown error" messages when "call_sv(code, G_EVAL)" is called from an XS destructor has been fixed. * The implementation of the open $fh, '>' \$buffer feature now supports get/set magic and thus tied buffers correctly. * The pp_getc, pp_tell, and pp_eof opcodes now make room on the stack for their return values in cases where no argument was passed in. * When matching unicode strings under some conditions inappropriate backtracking would result in a Malformed UTF-8 character (fatal) error. This should no longer occur. See [perl #75680] Platform Specific Notes AIX * README.aix has been updated with information about the XL C/C++ V11 compiler suite. Windows * When building Perl with the mingw64 x64 cross-compiler incpath, libpth, ldflags, lddlflags and ldflags_nolargefiles values in Config.pm and Config_heavy.pl were not previously not being set correctly because, with that compiler, the include and lib directories are not immediately below $(CCHOME). VMS * git_version.h is now installed on VMS. This was an oversight in v5.12.0 which caused some extensions to fail to build. * Several memory leaks in stat() have been fixed. * A memory leak in Perl_rename() due to a double allocation has been fixed. * A memory leak in vms_fid_to_name() (used by realpath() and realname()) has been fixed.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile4
-rw-r--r--lang/perl5/Makefile.common4
-rw-r--r--lang/perl5/distinfo8
3 files changed, 8 insertions, 8 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 17f066df2d5..6dae13c06f0 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.164 2010/09/05 08:29:51 sno Exp $
+# $NetBSD: Makefile,v 1.165 2010/09/09 20:35:43 sno Exp $
.include "license.mk"
.include "Makefile.common"
-PKGREVISION= 2
+#PKGREVISION= 2
COMMENT= Practical Extraction and Report Language
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/lang/perl5/Makefile.common b/lang/perl5/Makefile.common
index 6065d5d2f58..b846b8ce0b9 100644
--- a/lang/perl5/Makefile.common
+++ b/lang/perl5/Makefile.common
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.8 2010/08/27 05:27:37 sno Exp $
+# $NetBSD: Makefile.common,v 1.9 2010/09/09 20:35:43 sno Exp $
#
# used by lang/perl5/Makefile
# used by databases/p5-gdbm/Makefile
-DISTNAME= perl-5.12.1
+DISTNAME= perl-5.12.2
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index d21424a66d3..ca07b390b2f 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.69 2010/08/30 07:36:30 dsainty Exp $
+$NetBSD: distinfo,v 1.70 2010/09/09 20:35:43 sno Exp $
-SHA1 (perl-5.12.1.tar.gz) = 83b99f08379782dc06594a85eeb279edc5b0ca44
-RMD160 (perl-5.12.1.tar.gz) = 2e2d08821bdf3ed87360af828e3b31f5861b4fdd
-Size (perl-5.12.1.tar.gz) = 15122057 bytes
+SHA1 (perl-5.12.2.tar.gz) = c157f214a93ce20fc06dc9d9c902c05ad1327cb1
+RMD160 (perl-5.12.2.tar.gz) = b1fd7f05d96fa6a263d3622654af6b584c308ce4
+Size (perl-5.12.2.tar.gz) = 15143778 bytes
SHA1 (patch-aa) = 4c8197cdc0595a17ba377a28c7457f923c2d9bf9
SHA1 (patch-ab) = e3aa6bf9695addb9b754297120caf8683a625d1a
SHA1 (patch-ac) = c1893ea4cf4b89b03b3acc5dec9b5828d50c5dad