pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/perl5



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jul  6 09:22:15 UTC 2023

Modified Files:
        pkgsrc/lang/perl5: Makefile Makefile.common buildlink3.mk distinfo
            hacks.mk options.mk
        pkgsrc/lang/perl5/patches: patch-Configure patch-caretx.c

Log Message:
perl: update to 5.38.0.

Core Enhancements

    New class Feature
    Unicode 15.0 is supported
    Deprecation warnings now have specific subcategories
    %{^HOOK} API introduced
    PERL_RAND_SEED
    Defined-or and logical-or assignment default expressions in signatures
    @INC Hook Enhancements and $INC and INCDIR
    Forbidden control flow out of defer or finally now detected at compile-time
    Optimistic Eval in Patterns
    REG_INF has been raised from 65,536 to 2,147,483,647
    New API functions optimize_optree and finalize_optree
    Some gotos are now permitted in defer and finally blocks
    New regexp variable ${^LAST_SUCCESSFUL_PATTERN}
    Locale category LC_NAME now supported on participating platforms

Incompatible Changes

    readline() no longer clears the stream error and eof flags
    INIT blocks no longer run after an exit() in BEGIN
    Syntax errors no longer produce "phantom error messages"
    utf8::upgrade()
    Changes to "thread-safe" locales

Deprecations

    Use of ' as a package name separator is deprecated
    Switch and Smart Match operator

More details at https://metacpan.org/release/RJBS/perl-5.38.0/view/pod/perldelta.pod


To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.278 pkgsrc/lang/perl5/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/lang/perl5/Makefile.common
cvs rdiff -u -r1.72 -r1.73 pkgsrc/lang/perl5/buildlink3.mk
cvs rdiff -u -r1.180 -r1.181 pkgsrc/lang/perl5/distinfo
cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/perl5/hacks.mk
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/perl5/options.mk
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/perl5/patches/patch-Configure
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/perl5/patches/patch-caretx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/perl5/Makefile
diff -u pkgsrc/lang/perl5/Makefile:1.277 pkgsrc/lang/perl5/Makefile:1.278
--- pkgsrc/lang/perl5/Makefile:1.277    Fri May  5 23:01:32 2023
+++ pkgsrc/lang/perl5/Makefile  Thu Jul  6 09:22:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.277 2023/05/05 23:01:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.278 2023/07/06 09:22:14 wiz Exp $
 
 .include "license.mk"
 .include "Makefile.common"
@@ -53,6 +53,10 @@ LDFLAGS.QNX+=                -lm
 
 CONFIGURE_ARGS.SunOS+= -Aundef:csh
 
+# As of 5.38.0
+# Failed 2 tests out of 2610, 99.92% okay.
+#        porting/customized.t
+#        porting/regen.t
 TEST_TARGET=           test
 
 # Policy.sh generation

Index: pkgsrc/lang/perl5/Makefile.common
diff -u pkgsrc/lang/perl5/Makefile.common:1.46 pkgsrc/lang/perl5/Makefile.common:1.47
--- pkgsrc/lang/perl5/Makefile.common:1.46      Tue Apr 25 07:29:47 2023
+++ pkgsrc/lang/perl5/Makefile.common   Thu Jul  6 09:22:14 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.46 2023/04/25 07:29:47 adam Exp $
+# $NetBSD: Makefile.common,v 1.47 2023/07/06 09:22:14 wiz Exp $
 #
 # used by lang/perl5/Makefile
 # used by databases/p5-gdbm/Makefile
 
-DISTNAME=      perl-5.36.1
+DISTNAME=      perl-5.38.0
 CATEGORIES=    lang devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX}

Index: pkgsrc/lang/perl5/buildlink3.mk
diff -u pkgsrc/lang/perl5/buildlink3.mk:1.72 pkgsrc/lang/perl5/buildlink3.mk:1.73
--- pkgsrc/lang/perl5/buildlink3.mk:1.72        Mon Dec 26 22:11:52 2022
+++ pkgsrc/lang/perl5/buildlink3.mk     Thu Jul  6 09:22:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.72 2022/12/26 22:11:52 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.73 2023/07/06 09:22:14 wiz Exp $
 
 BUILDLINK_TREE+=       perl
 
@@ -6,13 +6,13 @@ BUILDLINK_TREE+=      perl
 PERL_BUILDLINK3_MK:=
 
 .include "../../mk/bsd.fast.prefs.mk"
-PERL5_REQD+=                   5.36.0
+PERL5_REQD+=                   5.38.0
 .for _perl5_ver_ in ${PERL5_REQD}
 BUILDLINK_API_DEPENDS.perl+=   perl>=${_perl5_ver_}
 .endfor
-# Prevent p5-* etc. packages built for 5.36.0 to be used
+# Prevent p5-* etc. packages built for 5.38.0 to be used
 # with the next incompatible version of perl:
-BUILDLINK_API_DEPENDS.perl+=   perl<5.37.0
+BUILDLINK_API_DEPENDS.perl+=   perl<5.39.0
 
 BUILDLINK_PKGSRCDIR.perl?=     ../../lang/perl5
 

Index: pkgsrc/lang/perl5/distinfo
diff -u pkgsrc/lang/perl5/distinfo:1.180 pkgsrc/lang/perl5/distinfo:1.181
--- pkgsrc/lang/perl5/distinfo:1.180    Tue Jul  4 10:26:28 2023
+++ pkgsrc/lang/perl5/distinfo  Thu Jul  6 09:22:14 2023
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.180 2023/07/04 10:26:28 jperkin Exp $
+$NetBSD: distinfo,v 1.181 2023/07/06 09:22:14 wiz Exp $
 
-BLAKE2s (perl-5.36.1.tar.xz) = d1bfb3348be21613b3bde6246682ba15afe58d2dd786e99ffa8325ee368256c3
-SHA512 (perl-5.36.1.tar.xz) = 8d1ec654c59d078bfc477f11c9526233199a85e4d4f6f5a55bf9eb7802cd355189c669cc6785d2d5e741c1de4d740b7a0cfd3c0198122586a07ac7f527fb14af
-Size (perl-5.36.1.tar.xz) = 13053604 bytes
-SHA1 (patch-Configure) = a72983dba63f32f57418f2702b039585ba7236a7
+BLAKE2s (perl-5.38.0.tar.xz) = 2f27844b7003ec6836ba53f33a73d349cec41f9ad5cff2f14499f95a221210ce
+SHA512 (perl-5.38.0.tar.xz) = 71beff7f6daa22a967972f5805daf2d4ff837a17e5ab808780f815d5914a67acf4f2e92acac0f2d8b24bdde4ceec0c2f7cb3029b5eadeeb30191f757e1bf0f9d
+Size (perl-5.38.0.tar.xz) = 13565448 bytes
+SHA1 (patch-Configure) = f3bd324a90254405b3ce8e29846b4ddc9ebf7d73
 SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9
-SHA1 (patch-caretx.c) = b76b4175a58123fa4dfd2adf36b2207dcb6cf65a
+SHA1 (patch-caretx.c) = e9698f513b6fb5237b627d6a1a56153720654039
 SHA1 (patch-cpan_ExtUtils-MakeMaker_lib_ExtUtils_MM__BeOS.pm) = 79e5aeccfa272ca5ec08bffc616d8053ae90ac51
 SHA1 (patch-cpan_ExtUtils-MakeMaker_lib_ExtUtils_MM__Unix.pm) = 6171a21a24e3bea312155b1d5f692d76ef733d23
 SHA1 (patch-cpan_ExtUtils-MakeMaker_t_MM__BeOS.t) = 9b0e7ab85fdab4887b1754599a8879bd7d9f36cc

Index: pkgsrc/lang/perl5/hacks.mk
diff -u pkgsrc/lang/perl5/hacks.mk:1.27 pkgsrc/lang/perl5/hacks.mk:1.28
--- pkgsrc/lang/perl5/hacks.mk:1.27     Tue Apr 25 07:29:47 2023
+++ pkgsrc/lang/perl5/hacks.mk  Thu Jul  6 09:22:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.27 2023/04/25 07:29:47 adam Exp $
+# $NetBSD: hacks.mk,v 1.28 2023/07/06 09:22:14 wiz Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined

Index: pkgsrc/lang/perl5/options.mk
diff -u pkgsrc/lang/perl5/options.mk:1.18 pkgsrc/lang/perl5/options.mk:1.19
--- pkgsrc/lang/perl5/options.mk:1.18   Tue Apr 25 07:29:47 2023
+++ pkgsrc/lang/perl5/options.mk        Thu Jul  6 09:22:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.18 2023/04/25 07:29:47 adam Exp $
+# $NetBSD: options.mk,v 1.19 2023/07/06 09:22:14 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.perl
 PKG_OPTIONS_REQUIRED_GROUPS=   perlbits

Index: pkgsrc/lang/perl5/patches/patch-Configure
diff -u pkgsrc/lang/perl5/patches/patch-Configure:1.13 pkgsrc/lang/perl5/patches/patch-Configure:1.14
--- pkgsrc/lang/perl5/patches/patch-Configure:1.13      Tue Jul  4 10:26:29 2023
+++ pkgsrc/lang/perl5/patches/patch-Configure   Thu Jul  6 09:22:14 2023
@@ -1,4 +1,4 @@
-$NetBSD: patch-Configure,v 1.13 2023/07/04 10:26:29 jperkin Exp $
+$NetBSD: patch-Configure,v 1.14 2023/07/06 09:22:14 wiz Exp $
 
 * Use "uname -r" to get OS version for *BSD.
 * Move $loclibpth to the end of $dlist, instead of the beginning.
@@ -8,16 +8,9 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
 * Several other changes.
 * Add rpath for QNX
 
---- Configure.orig     2021-05-04 06:52:48.000000000 +0000
+--- Configure.orig     2022-12-20 12:11:59.000000000 +0000
 +++ Configure
-@@ -3482,13 +3482,14 @@ EOM
-                       osvers="$3"
-                       ;;
-               dragonfly) osname=dragonfly
--                      osvers="$3"
-+                      osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'`
-                       ;;
-               dynixptx*) osname=dynixptx
+@@ -3515,7 +3515,8 @@ EOM
                        osvers=`echo "$4"|sed 's/^v//'`
                        ;;
                freebsd) osname=freebsd
@@ -27,20 +20,21 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                genix)  osname=genix ;;
                gnu)    osname=gnu
                        osvers="$3" ;;
-@@ -3513,8 +3514,11 @@ EOM
-               minix)  osname=minix
-                       osvers=`$uname -r`
+@@ -3537,11 +3538,11 @@ EOM
                        ;;
+               MiNT)   osname=mint
+                       ;;
+-              minix)  osname=minix
 +              minix*) osname=minix
-+                      osvers=`$uname -r`
-+                      ;;
+                       osvers=`$uname -r`
+                       ;;
                netbsd*) osname=netbsd
 -                      osvers="$3"
 +                      osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'`
                        ;;
                news-os) osvers="$3"
                        case "$3" in
-@@ -3524,7 +3528,7 @@ EOM
+@@ -3551,7 +3552,7 @@ EOM
                        ;;
                nonstop-ux) osname=nonstopux ;;
                openbsd) osname=openbsd
@@ -49,7 +43,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                        ;;
                os2)    osname=os2
                        osvers="$4"
-@@ -3539,6 +3543,9 @@ EOM
+@@ -3566,6 +3567,9 @@ EOM
                qnx) osname=qnx
                        osvers="$4"
                        ;;
@@ -59,7 +53,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                solaris) osname=solaris
                        case "$3" in
                        5*) osvers=`echo $3 | $sed 's/^5/2/g'` ;;
-@@ -4861,7 +4868,7 @@ esac
+@@ -4943,7 +4947,7 @@ esac
  # If using gcc or clang, we can get better values for libpth, incpth
  # and usrinc directly from the compiler.
  # Note that ccname for clang is also gcc.
@@ -68,7 +62,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
      gcc)
        realpath=`which realpath 2>/dev/null | sed 's/no realpath in.*//'`
        $echo 'extern int foo;' > try.c
-@@ -4945,14 +4952,14 @@ case "$plibpth" in
+@@ -5027,14 +5031,14 @@ case "$plibpth" in
  esac
  case "$libpth" in
  ' ') dlist='';;
@@ -85,7 +79,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                case " $libpth " in
                *" $xxx "*) ;;
                *) libpth="$libpth $xxx";;
-@@ -5068,7 +5075,7 @@ lib_ext=$_a
+@@ -5150,7 +5154,7 @@ lib_ext=$_a
  obj_ext=$_o
  path_sep=$p_
  
@@ -94,7 +88,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
  
  : Which makefile gets called first.  This is used by make depend.
  case "$firstmakefile" in
-@@ -5401,7 +5408,7 @@ default|recommended)
+@@ -5493,7 +5497,7 @@ default|recommended)
        *-fno-stack-protector*)
            echo "Do not add -fstack-protector nor -fstack-protector-strong" 2>&1
            ;;
@@ -103,7 +97,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
           ?*)  set stack-protector-strong -fstack-protector-strong
                eval $checkccflag
                case "$dflt" in
-@@ -6384,6 +6391,15 @@ case "$nm_so_opt" in
+@@ -6476,6 +6480,15 @@ case "$nm_so_opt" in
        ;;
  esac
  
@@ -119,7 +113,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
  : Figure out where the libc is located
  case "$runnm" in
  true)
-@@ -7564,7 +7580,9 @@ rp='Pathname for the site-specific libra
+@@ -7656,7 +7669,9 @@ rp='Pathname for the site-specific libra
  . ./getfile
  prefixvar=sitelib
  . ./setprefixvar
@@ -130,7 +124,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
  
  : Determine list of previous versions to include in @INC
  $cat > getverlist <<EOPL
-@@ -7977,7 +7995,9 @@ case "$vendorprefix" in
+@@ -8069,7 +8084,9 @@ case "$vendorprefix" in
        vendorlibexp="$ansexp"
        ;;
  esac
@@ -141,7 +135,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
  prefixvar=vendorlib
  . ./installprefix
  
-@@ -8477,6 +8497,7 @@ EOM
+@@ -8569,6 +8586,7 @@ EOM
                          esac
                          ;;
                    *linux*|irix*|gnu*)  dflt="-shared $optimize" ;;
@@ -149,7 +143,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                    solaris) # See [perl #66604].
                            # On Solaris 11, gcc -m64 on amd64
                            # appears not to understand -G.  gcc versions at
-@@ -8516,7 +8537,7 @@ EOM
+@@ -8608,7 +8626,7 @@ EOM
        esac
        for thisflag in $ldflags; do
            case "$thisflag" in
@@ -158,7 +152,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                    case " $dflt " in
                        *" $thisflag "*) ;;
                        *) dflt="$dflt $thisflag" ;;
-@@ -8772,7 +8793,7 @@ if "$useshrplib"; then
+@@ -8864,7 +8882,7 @@ if "$useshrplib"; then
        freebsd|minix|mirbsd|netbsd|openbsd|interix|dragonfly|bitrig)
                xxx="-Wl,-R$shrpdir"
                ;;
@@ -167,7 +161,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
                xxx="-Wl,-rpath,$shrpdir"
                ;;
        hpux*)
-@@ -8782,6 +8803,9 @@ if "$useshrplib"; then
+@@ -8874,6 +8892,9 @@ if "$useshrplib"; then
        cygwin)
                # cygwin needs only ldlibpth
                ;;
@@ -177,7 +171,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
        *)
                tmp_shrpenv="env LD_RUN_PATH=$shrpdir"
                ;;
-@@ -9858,6 +9882,13 @@ esac
+@@ -9948,6 +9969,13 @@ esac
  : Check if we want perlio
  useperlio="$define"
  
@@ -191,7 +185,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
  : Set the vendorbin variables
  case "$vendorprefix" in
  '')   d_vendorbin="$undef"
-@@ -20225,7 +20256,15 @@ RCAT(Rei,ser)
+@@ -20573,7 +20601,15 @@ RCAT(Rei,ser)
  ACAT(Cir,cus)
  EOCP
  $cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
@@ -208,7 +202,7 @@ $NetBSD: patch-Configure,v 1.13 2023/07/
        echo "Oh!  Smells like ANSI's been here." >&4
        echo "We can catify or stringify, separately or together!"
        cpp_stuff=42
-@@ -23062,6 +23101,18 @@ eval $inhdr
+@@ -23519,6 +23555,18 @@ eval $inhdr
  set fenv.h i_fenv
  eval $inhdr
  

Index: pkgsrc/lang/perl5/patches/patch-caretx.c
diff -u pkgsrc/lang/perl5/patches/patch-caretx.c:1.3 pkgsrc/lang/perl5/patches/patch-caretx.c:1.4
--- pkgsrc/lang/perl5/patches/patch-caretx.c:1.3        Tue Apr 23 09:27:46 2019
+++ pkgsrc/lang/perl5/patches/patch-caretx.c    Thu Jul  6 09:22:14 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-caretx.c,v 1.3 2019/04/23 09:27:46 adam Exp $
+$NetBSD: patch-caretx.c,v 1.4 2023/07/06 09:22:14 wiz Exp $
 
 NetBSD's implementation sometimes returns "/"; reject that too.
 
---- caretx.c.orig      2019-04-02 20:36:35.000000000 +0000
+--- caretx.c.orig      2023-01-19 22:33:49.000000000 +0000
 +++ caretx.c
-@@ -133,7 +133,7 @@ Perl_set_caret_X(pTHX) {
+@@ -123,7 +123,7 @@ Perl_set_caret_X(pTHX) {
         valid path has a '/' in it somewhere, so use that to validate the
-        result. See http://www.freebsd.org/cgi/query-pr.cgi?pr=35703
+        result. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=35703
      */
 -    if (len > 0 && memchr(buf, '/', len)) {
 +    if (len > 1 && memchr(buf, '/', len)) {



Home | Main Index | Thread Index | Old Index