pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 Update perl from version 5.10.0nb6 to versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fac83e1cb3ca
branches:  trunk
changeset: 568463:fac83e1cb3ca
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Dec 14 06:36:56 2009 +0000

description:
Update perl from version 5.10.0nb6 to version 5.10.1.

Pkgsrc changes:
- Adjust some patches
- Remove patches integrated upstream

Upstream changes:
"5.10.1 is a maintenance release for perl 5.10, incorporating various
minor bugfixes and optimisations."

Nonetheless some incompatibles changes are noteworthy and are related
to:
- flip-flop and defined-or operators behavior in switch statement
- type-based dispatch and overloading of the smart match operator
- 'use feature :5.10*' semantics
- Perl development switched to git
- internal structure of the ext/ perl source directory changed
- removal of the modules Test::Harness::Straps, ExtUtils::MakeMaker::bytes
and ExtUtils::MakeMaker::vmsish
- the Module::CoreList module no longer contains the %:patchlevel hash
- a bugfix related to the handling of the /m modifier and qr resulted
in a change of behaviour between 5.8.x and 5.10.0 (this was missing from
perl 5.10.0 perldelta).

For a complete list of changes see included perl5101delta(1) or
http://perldoc.perl.org/perl5101delta.html

diffstat:

 lang/perl5/Makefile         |   6 +++---
 lang/perl5/distinfo         |  30 ++++++++++++------------------
 lang/perl5/patches/patch-aa |  41 +++++++++++++++--------------------------
 lang/perl5/patches/patch-ab |  16 ++++++++--------
 lang/perl5/patches/patch-ac |  44 --------------------------------------------
 lang/perl5/patches/patch-ad |  15 ---------------
 lang/perl5/patches/patch-as |  16 ----------------
 lang/perl5/patches/patch-at |  14 --------------
 lang/perl5/patches/patch-ba |  17 ++++-------------
 lang/perl5/patches/patch-ca |  34 ++++++++++++++++------------------
 lang/perl5/patches/patch-ci |  17 ++++-------------
 lang/perl5/patches/patch-co |  19 +++----------------
 lang/perl5/patches/patch-da |  44 --------------------------------------------
 lang/perl5/patches/patch-ri |  14 --------------
 lang/perl5/patches/patch-ta |  12 ++++++------
 lang/perl5/patches/patch-zd |  19 ++++++++++---------
 16 files changed, 81 insertions(+), 277 deletions(-)

diffs (truncated from 534 to 300 lines):

diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/Makefile
--- a/lang/perl5/Makefile       Mon Dec 14 01:39:57 2009 +0000
+++ b/lang/perl5/Makefile       Mon Dec 14 06:36:56 2009 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.154 2009/10/23 18:41:02 tnn Exp $
+# $NetBSD: Makefile,v 1.155 2009/12/14 06:36:56 seb Exp $
 
 .include "license.mk"
 
-DISTNAME=      perl-5.10.0
+DISTNAME=      perl-5.10.1
 CATEGORIES=    lang devel perl5
-PKGREVISION=   6
+#PKGREVISION=  1
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX}
 
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/distinfo
--- a/lang/perl5/distinfo       Mon Dec 14 01:39:57 2009 +0000
+++ b/lang/perl5/distinfo       Mon Dec 14 06:36:56 2009 +0000
@@ -1,27 +1,21 @@
-$NetBSD: distinfo,v 1.61 2009/10/13 10:38:31 hasso Exp $
+$NetBSD: distinfo,v 1.62 2009/12/14 06:36:56 seb Exp $
 
-SHA1 (perl-5.10.0.tar.gz) = adf73606dd5248af7ccdd735bcaa0e628ea75b3c
-RMD160 (perl-5.10.0.tar.gz) = c6614fc99a162790a703f91085b24a60af903ba2
-Size (perl-5.10.0.tar.gz) = 15595020 bytes
-SHA1 (patch-aa) = 5bd44a8076cf27e2deac52240af7f3898865859c
-SHA1 (patch-ab) = e32427327192f023477b16f29bc55fdf4f057410
-SHA1 (patch-ac) = e6dd7287c1d85a59953610406c5fc1f52c712fb7
-SHA1 (patch-ad) = 72ea84e233fd5e82822078e207d597870a53e9fd
+SHA1 (perl-5.10.1.tar.gz) = 8536ed1c14444d1efea069525a816fbc7be7109f
+RMD160 (perl-5.10.1.tar.gz) = 6fe727a5e8878c26b5bd7cfc7165e10f311f7214
+Size (perl-5.10.1.tar.gz) = 14117518 bytes
+SHA1 (patch-aa) = 7f25db6568bb1b0d079efde82952b2fea919b7f8
+SHA1 (patch-ab) = e3aa6bf9695addb9b754297120caf8683a625d1a
 SHA1 (patch-ah) = 1d2f4049dcc8dafcd0eafad36a74531dc7f305c9
 SHA1 (patch-ai) = 5abdbbddcba79088996056ab88a34db5fcd16b01
 SHA1 (patch-aq) = 3ece22678e3e6dcd3cf641e6389ff203cbe351b9
-SHA1 (patch-as) = 8656cb4d9baf43dd92f4c467aaa40802d4c43239
-SHA1 (patch-at) = 814a7b63def0548c2c73d1162d318b783fd8f8bd
-SHA1 (patch-ba) = dc150656628e83e25c99f246a0fb30906d185184
-SHA1 (patch-ca) = 47db0530a705b8086b2bfc58491f9b56de4b9e12
+SHA1 (patch-ba) = 956faac66f446b05360be16b5d197280dea7f801
+SHA1 (patch-ca) = bc3472f62773045916261e8e434af8f2e25b4f9a
 SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099
-SHA1 (patch-ci) = d09c9a47a7c308c36d34940df2652f29de41bc5c
+SHA1 (patch-ci) = e99836c538257f45917c3fb81f9c4d07df2e58e7
 SHA1 (patch-ck) = 28207b8186c9ad194a1edc696159915bc16d1097
 SHA1 (patch-cn) = 7ca2b1ff19f8371637a34ec26779b37d74c74cca
-SHA1 (patch-co) = 811e5c391f9f9f72a3f52e6d590b0b4f1e851325
-SHA1 (patch-da) = 13f576db014ec90df319670703482c7276a1f543
+SHA1 (patch-co) = c4a4e30171cebb1ceaa14850b9be99ffa7c94519
 SHA1 (patch-db) = 3aef75518bfea88cb5166026f04ef4d7c016bc99
-SHA1 (patch-ri) = fc838ec10cf601a580aa1f58eb93c3198a13ff71
-SHA1 (patch-ta) = 60d9ef72db56b9f149f3995b3f526fc32a352bd7
+SHA1 (patch-ta) = 69f0d2df022eb8ff0dbcc77bde638cdc9c6391b1
 SHA1 (patch-zc) = a23002397ffaebb243f7683c95c8fb227af90f49
-SHA1 (patch-zd) = ee67148b8f44fb3826273574abb62ad9ca4ffa7f
+SHA1 (patch-zd) = 1a4ae60e9ae350c813d8b91c61e93805b3e66210
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-aa
--- a/lang/perl5/patches/patch-aa       Mon Dec 14 01:39:57 2009 +0000
+++ b/lang/perl5/patches/patch-aa       Mon Dec 14 06:36:56 2009 +0000
@@ -1,33 +1,22 @@
-$NetBSD: patch-aa,v 1.31 2008/10/10 21:58:43 he Exp $
+$NetBSD: patch-aa,v 1.32 2009/12/14 06:36:57 seb Exp $
 
---- lib/ExtUtils/MM_Unix.pm.orig       2007-12-18 11:47:07.000000000 +0100
-+++ lib/ExtUtils/MM_Unix.pm
-@@ -11,8 +11,8 @@ use DirHandle;
- 
- use vars qw($VERSION @ISA
-             $Is_OS2 $Is_VMS $Is_Win32 $Is_Dos
--            $Is_OSF $Is_IRIX  $Is_NetBSD $Is_BSD
--            $Is_SunOS4 $Is_Solaris $Is_SunOS $Is_Interix
-+            $Is_OSF $Is_IRIX  $Is_BSD
-+            $Is_SunOS4 $Is_Solaris $Is_SunOS
-             %Config_Override
-            );
- 
-@@ -30,8 +30,6 @@ BEGIN { 
-     $Is_VMS     = $^O eq 'VMS';
-     $Is_OSF     = $^O eq 'dec_osf';
-     $Is_IRIX    = $^O eq 'irix';
--    $Is_NetBSD  = $^O eq 'netbsd';
--    $Is_Interix = $^O eq 'interix';
-     $Is_SunOS4  = $^O eq 'sunos';
-     $Is_Solaris = $^O eq 'solaris';
-     $Is_SunOS   = $Is_SunOS4 || $Is_Solaris;
-@@ -932,7 +930,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
+--- lib/ExtUtils/MM_Unix.pm.orig       2009-12-06 17:10:46.000000000 +0000
++++ lib/ExtUtils/MM_Unix.pm    2009-12-06 17:12:37.000000000 +0000
+@@ -28,8 +28,6 @@
+     $Is{VMS}     = $^O eq 'VMS';
+     $Is{OSF}     = $^O eq 'dec_osf';
+     $Is{IRIX}    = $^O eq 'irix';
+-    $Is{NetBSD}  = $^O eq 'netbsd';
+-    $Is{Interix} = $^O eq 'interix';
+     $Is{SunOS4}  = $^O eq 'sunos';
+     $Is{Solaris} = $^O eq 'solaris';
+     $Is{SunOS}   = $Is{SunOS4} || $Is{Solaris};
+@@ -931,7 +929,7 @@
  
      my $libs = '$(LDLOADLIBS)';
  
--    if (($Is_NetBSD || $Is_Interix) && $Config{'useshrplib'} eq 'true') {
-+    if ($Is_BSD && $Config{'useshrplib'} eq 'true') {
+-    if (($Is{NetBSD} || $Is{Interix}) && $Config{'useshrplib'} eq 'true') {
++    if ($Is{BSD} && $Config{'useshrplib'} eq 'true') {
        # Use nothing on static perl platforms, and to the flags needed
        # to link against the shared libperl library on shared perl
        # platforms.  We peek at lddlflags to see if we need -Wl,-R
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-ab
--- a/lang/perl5/patches/patch-ab       Mon Dec 14 01:39:57 2009 +0000
+++ b/lang/perl5/patches/patch-ab       Mon Dec 14 06:36:56 2009 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-ab,v 1.14 2006/11/03 07:09:46 joerg Exp $
+$NetBSD: patch-ab,v 1.15 2009/12/14 06:36:57 seb Exp $
 
---- installperl.orig   2006-11-01 02:21:12.000000000 +0100
-+++ installperl
-@@ -379,7 +379,6 @@ my ($do_installarchlib, $do_installprivl
- mkpath($installprivlib, $verbose, 0777);
- mkpath($installarchlib, $verbose, 0777);
- mkpath($installsitelib, $verbose, 0777) if ($installsitelib);
--mkpath($installsitearch, $verbose, 0777) if ($installsitearch);
+--- installperl.orig   2009-12-06 17:14:00.000000000 +0000
++++ installperl        2009-12-06 17:14:13.000000000 +0000
+@@ -355,7 +355,6 @@
+ mkpath($installprivlib, $opts{verbose}, 0777);
+ mkpath($installarchlib, $opts{verbose}, 0777);
+ mkpath($installsitelib, $opts{verbose}, 0777) if ($installsitelib);
+-mkpath($installsitearch, $opts{verbose}, 0777) if ($installsitearch);
  
  if (chdir "lib") {
      $do_installarchlib = ! samepath($installarchlib, '.');
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-ac
--- a/lang/perl5/patches/patch-ac       Mon Dec 14 01:39:57 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-$NetBSD: patch-ac,v 1.12 2009/05/02 19:23:45 sno Exp $
-
---- toke.c.orig        2009-05-01 10:57:15.000000000 +0000
-+++ toke.c     2009-05-01 10:57:49.000000000 +0000
-@@ -692,6 +692,7 @@
- #else
-     parser->nexttoke = 0;
- #endif
-+    parser->error_count = oparser ? oparser->error_count : 0;
-     parser->copline = NOLINE;
-     parser->lex_state = LEX_NORMAL;
-     parser->expect = XSTATE;
---- t/comp/require.t.orig      2009-05-01 10:58:10.000000000 +0000
-+++ t/comp/require.t   2009-05-01 10:59:36.000000000 +0000
-@@ -15,7 +15,7 @@
- 
- my $Is_EBCDIC = (ord('A') == 193) ? 1 : 0;
- my $Is_UTF8   = (${^OPEN} || "") =~ /:utf8/;
--my $total_tests = 49;
-+my $total_tests = 50;
- if ($Is_EBCDIC || $Is_UTF8) { $total_tests -= 3; }
- print "1..$total_tests\n";
- 
-@@ -258,6 +258,20 @@
-     }
- }
- 
-+#  [perl #49472] Attributes + Unkown Error
-+
-+{
-+    do_require
-+       'use strict;sub MODIFY_CODE_ATTRIBUTE{} sub f:Blah {$nosuchvar}';
-+    my $err = $@;
-+    $err .= "\n" unless $err =~ /\n$/;
-+    unless ($err =~ /Global symbol "\$nosuchvar" requires /) {
-+       $err =~ s/^/# /mg;
-+       print "${err}not ";
-+    }
-+    print "ok ", ++$i, " [perl #49472]\n";
-+}
-+
- ##########################################
- # What follows are UTF-8 specific tests. #
- # Add generic tests before this point.   #
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-ad
--- a/lang/perl5/patches/patch-ad       Mon Dec 14 01:39:57 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.13 2009/07/24 04:58:57 schmonz Exp $
-
---- lib/Cwd.pm.orig    2007-12-18 05:47:07.000000000 -0500
-+++ lib/Cwd.pm
-@@ -540,8 +540,8 @@ sub _perl_abs_path
-       local *PARENT;
-       unless (opendir(PARENT, $dotdots))
-       {
--          _carp("opendir($dotdots): $!");
--          return '';
-+          # probably a permissions issue.  Try the native command.
-+          return File::Spec->rel2abs( $start, _backtick_pwd() );
-       }
-       unless (@cst = stat($dotdots))
-       {
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-as
--- a/lang/perl5/patches/patch-as       Mon Dec 14 01:39:57 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-as,v 1.3 2008/10/10 21:58:43 he Exp $
-
-asm/page.h is no longer installed as part of the kernel header
-page on Gentoo/Linux.
-
---- ext/IPC/SysV/SysV.xs.orig  2007-12-18 11:47:07.000000000 +0100
-+++ ext/IPC/SysV/SysV.xs
-@@ -24,8 +24,6 @@
- #      elif defined(HAS_GETPAGESIZE)
- #          undef  SHMLBA /* not static: determined at boot time */
- #          define SHMLBA getpagesize()
--#      elif defined(__linux__)
--#          include <asm/page.h>          
- #      endif
- #   endif
- #endif
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-at
--- a/lang/perl5/patches/patch-at       Mon Dec 14 01:39:57 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-at,v 1.2 2009/01/29 10:13:05 wiz Exp $
-
---- makedef.pl.orig    2008-11-14 11:28:39.000000000 +0100
-+++ makedef.pl 2008-11-14 11:30:05.000000000 +0100
-@@ -404,6 +404,9 @@
-                    PL_statusvalue_vms
-                    PL_sys_intern
-                    )]);
-+    emit_symbols([qw(
-+                   boot_DynaLoader
-+                   )]);
- }
- elsif ($PLATFORM eq 'os2') {
-     emit_symbols([qw(
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-ba
--- a/lang/perl5/patches/patch-ba       Mon Dec 14 01:39:57 2009 +0000
+++ b/lang/perl5/patches/patch-ba       Mon Dec 14 06:36:56 2009 +0000
@@ -1,17 +1,8 @@
-$NetBSD: patch-ba,v 1.5 2008/10/10 21:58:43 he Exp $
+$NetBSD: patch-ba,v 1.6 2009/12/14 06:36:57 seb Exp $
 
---- hints/netbsd.sh.orig       2007-12-18 11:47:07.000000000 +0100
-+++ hints/netbsd.sh
-@@ -79,7 +79,7 @@ case "$osvers" in
-       ;;
- esac
- case "$osvers" in
--0.9*|1.*|2.*|3.*|4.*)
-+0.9*|1.*|2.*|3.*|4.*|5.*)
-       d_getprotoent_r="$undef"
-       d_getprotobyname_r="$undef"
-       d_getprotobynumber_r="$undef"
-@@ -175,23 +175,6 @@ $define|true|[yY]*)
+--- hints/netbsd.sh.orig       2009-12-06 17:21:43.000000000 +0000
++++ hints/netbsd.sh    2009-12-06 17:22:01.000000000 +0000
+@@ -175,23 +175,6 @@
  esac
  EOCBU
  
diff -r f7ffe42313d2 -r fac83e1cb3ca lang/perl5/patches/patch-ca
--- a/lang/perl5/patches/patch-ca       Mon Dec 14 01:39:57 2009 +0000
+++ b/lang/perl5/patches/patch-ca       Mon Dec 14 06:36:56 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ca,v 1.6 2008/10/10 21:58:43 he Exp $
+$NetBSD: patch-ca,v 1.7 2009/12/14 06:36:57 seb Exp $
 
---- Configure.orig     2007-12-18 11:47:07.000000000 +0100
-+++ Configure
-@@ -3206,13 +3206,14 @@ EOM
+--- Configure.orig     2009-12-06 17:23:10.000000000 +0000
++++ Configure  2009-12-06 17:51:02.000000000 +0000
+@@ -3233,13 +3233,14 @@
                        osvers="$3"
                        ;;
                dragonfly) osname=dragonfly
@@ -19,7 +19,7 @@
                genix)  osname=genix ;;
                gnu)    osname=gnu
                        osvers="$3" ;;
-@@ -3234,7 +3235,7 @@ EOM
+@@ -3261,7 +3262,7 @@
                MiNT)   osname=mint
                        ;;
                netbsd*) osname=netbsd
@@ -28,18 +28,16 @@
                        ;;
                news-os) osvers="$3"
                        case "$3" in
-@@ -3245,8 +3246,8 @@ EOM
+@@ -3272,7 +3273,7 @@
                next*) osname=next ;;
                nonstop-ux) osname=nonstopux ;;
                openbsd) osname=openbsd



Home | Main Index | Thread Index | Old Index