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:           Mon Aug 31 18:00:37 UTC 2020

Modified Files:
        pkgsrc/lang/perl5: Makefile Makefile.common buildlink3.mk distinfo
            hacks.mk module.mk
        pkgsrc/lang/perl5/patches: patch-cflags.SH patch-hints_solaris__2.sh
Removed Files:
        pkgsrc/lang/perl5/patches: patch-alignment_1 patch-alignment_2
            patch-hints_minix.sh

Log Message:
perl: update to 5.32.0.

https://perldoc.perl.org/5.32.0/perldelta.html

Core Enhancements

    The isa Operator
    Unicode 13.0 is supported
    Chained comparisons capability
    New Unicode properties Identifier_Status and Identifier_Type supported
    It is now possible to write qr/\p{Name=...}/, or qr!\p{na=/(SMILING|GRINNING) FACE/}!
    Improvement of POSIX::mblen(), mbtowc, and wctomb
    Alpha assertions are no longer experimental
    Script runs are no longer experimental
    Feature checks are now faster
    Perl is now developed on GitHub
    Compiled patterns can now be dumped before optimization

Security

    [CVE-2020-10543] Buffer overflow caused by a crafted regular expression
    [CVE-2020-10878] Integer overflow via malformed bytecode produced by a crafted regular expression
    [CVE-2020-12723] Buffer overflow caused by a crafted regular expression
    Additional Note

Incompatible Changes

    Certain pattern matching features are now prohibited in compiling Unicode property value wildcard subpatterns
    Unused functions POSIX::mbstowcs and POSIX::wcstombs are removed
    A bug fix for (?[...]) may have caused some patterns to no longer compile
    \p{_user-defined_} properties now always override official Unicode ones
    Modifiable variables are no longer permitted in constants
    Use of perlfunc/vec EXPR,OFFSET,BITS on strings with code points above 0xFF is forbidden
    Use of code points over 0xFF in string bitwise operators
    Sys::Hostname::hostname() does not accept arguments
    Plain "0" string now treated as a number for range operator
    \K now disallowed in look-ahead and look-behind assertions

Performance Enhancements
Modules and Pragmata

    Updated Modules and Pragmata
    Removed Modules and Pragmata

Documentation

    Changes to Existing Documentation

Diagnostics

    New Diagnostics
    Changes to Existing Diagnostics

Utility Changes

    the perlbug manpage
    the streamzip manpage


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 pkgsrc/lang/perl5/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/perl5/Makefile.common
cvs rdiff -u -r1.64 -r1.65 pkgsrc/lang/perl5/buildlink3.mk
cvs rdiff -u -r1.164 -r1.165 pkgsrc/lang/perl5/distinfo
cvs rdiff -u -r1.25 -r1.26 pkgsrc/lang/perl5/hacks.mk
cvs rdiff -u -r1.74 -r1.75 pkgsrc/lang/perl5/module.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/perl5/patches/patch-alignment_1 \
    pkgsrc/lang/perl5/patches/patch-alignment_2 \
    pkgsrc/lang/perl5/patches/patch-hints_minix.sh
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/perl5/patches/patch-cflags.SH
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/perl5/patches/patch-hints_solaris__2.sh

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.262 pkgsrc/lang/perl5/Makefile:1.263
--- pkgsrc/lang/perl5/Makefile:1.262    Sun Aug 30 13:36:01 2020
+++ pkgsrc/lang/perl5/Makefile  Mon Aug 31 18:00:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.262 2020/08/30 13:36:01 js Exp $
+# $NetBSD: Makefile,v 1.263 2020/08/31 18:00:37 wiz Exp $
 
 .include "license.mk"
 .include "Makefile.common"
@@ -10,79 +10,72 @@ CONFLICTS+= perl-base-[0-9]* perl-thread
 # CONFLICTS packages older than CORE modules version.
 # based on 'corelist -v ${PKGVERSION}'
 # update based on 'corelist -diff ${PREV_PKGVERSION} ${PKGVERSION}'
-CONFLICTS+=    p5-Archive-Tar<1.96
-CONFLICTS+=    p5-Attribute-Handlers<0.96
+CONFLICTS+=    p5-Archive-Tar<2.36
+CONFLICTS+=    p5-Attribute-Handlers<1.01
 CONFLICTS+=    p5-AutoLoader<5.74
-CONFLICTS+=    p5-CGI<3.65
-#              older for www/p5-CGI-Fast
-CONFLICTS+=    p5-CPAN<2.0500                  # 2.05
-CONFLICTS+=    p5-CPAN-Meta<2.140640
-CONFLICTS+=    p5-CPAN-Meta-Requirements<2.125
-CONFLICTS+=    p5-CPAN-Meta-YAML<0.012
-CONFLICTS+=    p5-Compress-Raw-Bzip2<2.064
-CONFLICTS+=    p5-Compress-Raw-Zlib<2.064
-CONFLICTS+=    p5-DB_File<1.831
-CONFLICTS+=    p5-Devel-PPPort<3.21
-CONFLICTS+=    p5-Digest<1.17
-CONFLICTS+=    p5-Digest-MD5<2.53
-CONFLICTS+=    p5-Digest-SHA<5.88
-CONFLICTS+=    p5-Encode<2.60
-CONFLICTS+=    p5-ExtUtils-CBuilder<0.28.02.16 # 0.280216
-CONFLICTS+=    p5-ExtUtils-Command<1.18
-CONFLICTS+=    p5-ExtUtils-Embed<1.32
-CONFLICTS+=    p5-ExtUtils-Install<1.67
-CONFLICTS+=    p5-ExtUtils-MakeMaker<6.98
-CONFLICTS+=    p5-ExtUtils-Manifest<1.63
-CONFLICTS+=    p5-ExtUtils-ParseXS<3.24
-CONFLICTS+=    p5-File-Path<2.09
-CONFLICTS+=    p5-File-Temp<0.23.04    # 0.2304
-CONFLICTS+=    p5-Getopt-Long<2.42
-CONFLICTS+=    p5-HTTP-Tiny<0.043
-CONFLICTS+=    p5-I18N-LangTags<0.40
-CONFLICTS+=    p5-IO<1.3100                    # 1.31
-CONFLICTS+=    p5-IO-Compress<2.064            # IO::Compress::*, Compress::*
+CONFLICTS+=    p5-CPAN<2.2700                  # 2.27
+CONFLICTS+=    p5-CPAN-Meta<2.150010
+CONFLICTS+=    p5-CPAN-Meta-Requirements<2.140
+CONFLICTS+=    p5-CPAN-Meta-YAML<0.018
+CONFLICTS+=    p5-Compress-Raw-Bzip2<2.093
+CONFLICTS+=    p5-Compress-Raw-Zlib<2.093
+CONFLICTS+=    p5-DB_File<1.853
+CONFLICTS+=    p5-Devel-PPPort<3.57
+CONFLICTS+=    p5-Digest<1.17.01
+CONFLICTS+=    p5-Digest-MD5<2.55.01
+CONFLICTS+=    p5-Digest-SHA<6.02
+CONFLICTS+=    p5-Encode<3.06
+CONFLICTS+=    p5-ExtUtils-CBuilder<0.28.02.34 # 0.280234
+CONFLICTS+=    p5-ExtUtils-Command<7.44
+CONFLICTS+=    p5-ExtUtils-Embed<1.35
+CONFLICTS+=    p5-ExtUtils-Install<2.14
+CONFLICTS+=    p5-ExtUtils-MakeMaker<7.44
+CONFLICTS+=    p5-ExtUtils-Manifest<1.72
+CONFLICTS+=    p5-ExtUtils-ParseXS<3.40
+CONFLICTS+=    p5-File-Path<2.16
+CONFLICTS+=    p5-File-Temp<0.23.09    # 0.2309
+CONFLICTS+=    p5-Getopt-Long<2.51
+CONFLICTS+=    p5-HTTP-Tiny<0.076
+CONFLICTS+=    p5-I18N-LangTags<0.44
+CONFLICTS+=    p5-IO<1.4300                    # 1.43
+CONFLICTS+=    p5-IO-Compress<2.093            # IO::Compress::*, Compress::*
 CONFLICTS+=    p5-IO-Zlib<1.10
-CONFLICTS+=    p5-IPC-Cmd<0.92
-CONFLICTS+=    p5-IPC-SysV<2.04
-CONFLICTS+=    p5-JSON-PP<2.27203
-CONFLICTS+=    p5-Locale-Codes<3.30
-CONFLICTS+=    p5-Locale-Maketext<1.25
-CONFLICTS+=    p5-Locale-Maketext-Simple<0.21
-CONFLICTS+=    p5-MIME-Base64<3.14
-CONFLICTS+=    p5-Math-Complex<1.59
-CONFLICTS+=    p5-Memoize<1.03
-CONFLICTS+=    p5-Module-Build<0.42050         # 0.4205
-CONFLICTS+=    p5-Module-CoreList<3.10
-CONFLICTS+=    p5-Module-Load<0.32
-CONFLICTS+=    p5-NEXT<0.65
-CONFLICTS+=    p5-Package-Constants<0.04
-CONFLICTS+=    p5-Parse-CPAN-Meta<1.4414
-CONFLICTS+=    p5-Pod-Escapes<1.06
-CONFLICTS+=    p5-Pod-Parser<1.62
-CONFLICTS+=    p5-Pod-Simple<3.28
-CONFLICTS+=    p5-Pod-Usage<1.63
-CONFLICTS+=    p5-Storable<2.49
-CONFLICTS+=    p5-Sys-Syslog<0.33
-CONFLICTS+=    p5-Term-ANSIColor<4.02
-CONFLICTS+=    p5-Term-Cap<1.15
-CONFLICTS+=    p5-Term-ReadLine<1.14
+CONFLICTS+=    p5-IPC-Cmd<1.04
+CONFLICTS+=    p5-IPC-SysV<2.07
+CONFLICTS+=    p5-JSON-PP<4.04
+CONFLICTS+=    p5-Locale-Maketext<1.29
+CONFLICTS+=    p5-Locale-Maketext-Simple<0.21.01
+CONFLICTS+=    p5-MIME-Base64<3.15
+CONFLICTS+=    p5-Math-Complex<1.59.01
+CONFLICTS+=    p5-Memoize<1.03.01
+CONFLICTS+=    p5-Module-CoreList<5.202006200
+CONFLICTS+=    p5-Module-Load<0.34
+CONFLICTS+=    p5-NEXT<0.67.01
+CONFLICTS+=    p5-Parse-CPAN-Meta<2.150010
+CONFLICTS+=    p5-Pod-Escapes<1.07
+CONFLICTS+=    p5-Pod-Simple<3.40
+CONFLICTS+=    p5-Pod-Usage<1.69
+CONFLICTS+=    p5-Storable<3.21
+CONFLICTS+=    p5-Sys-Syslog<0.36
+CONFLICTS+=    p5-Term-ANSIColor<5.01
+CONFLICTS+=    p5-Term-Cap<1.17
+CONFLICTS+=    p5-Term-ReadLine<1.17
 #                      older for sysutils/shelldap
-CONFLICTS+=    p5-Test-Harness<3.30
-CONFLICTS+=    p5-Test-Simple<1.001002
-CONFLICTS+=    p5-Text-Tabs+Wrap<2013.0523     # Text::Tabs + Text::Wrap
-CONFLICTS+=    p5-Tie-File<1.00
+CONFLICTS+=    p5-Test-Harness<3.42
+CONFLICTS+=    p5-Test-Simple<1.302175
+CONFLICTS+=    p5-Tie-File<1.06
 CONFLICTS+=    p5-Tie-RefHash<1.39
-CONFLICTS+=    p5-Time-HiRes<1.9726
-CONFLICTS+=    p5-Time-Local<1.23.00           # 1.2300
-CONFLICTS+=    p5-Time-Piece<1.27
-CONFLICTS+=    p5-Unicode-Collate<1.04
-CONFLICTS+=    p5-Unicode-Normalize<1.17
-CONFLICTS+=    p5-XSLoader<0.16
-CONFLICTS+=    p5-autodie<2.23
-CONFLICTS+=    p5-constant<1.31
-CONFLICTS+=    p5-experimental<0.007
-CONFLICTS+=    p5-parent<0.228
-CONFLICTS+=    p5-version<0.9908
+CONFLICTS+=    p5-Time-HiRes<1.9764
+CONFLICTS+=    p5-Time-Local<1.28
+CONFLICTS+=    p5-Time-Piece<1.34.01
+CONFLICTS+=    p5-Unicode-Collate<1.27
+CONFLICTS+=    p5-Unicode-Normalize<1.27
+CONFLICTS+=    p5-XSLoader<0.30
+CONFLICTS+=    p5-autodie<2.32
+CONFLICTS+=    p5-constant<1.33
+CONFLICTS+=    p5-experimental<0.020
+CONFLICTS+=    p5-parent<0.238
+CONFLICTS+=    p5-version<0.9924
 
 SUPERSEDES+=   p5-Tie-File<=0.99
 SUPERSEDES+=   p5-Memoize<=1.03
@@ -186,7 +179,7 @@ CONFIGURE_ARGS+=    -Duseshrplib
 USE_TOOLS+=            hostname ln rm sed test
 SUBST_VARS.policysh+=  TOOLS_HOSTNAME_CMD
 SUBST_VARS.policysh+=  TOOLS_LN
-TOOLS_ALIASES.sed+=    ${TOOLS_SED:T}
+TOOLS_ALIASES.sed=     ${TOOLS_SED:T}
 SUBST_VARS.policysh+=  TOOLS_SED
 SUBST_VARS.policysh+=  TOOLS_SH
 SUBST_VARS.policysh+=  TOOLS_TEST
@@ -297,8 +290,8 @@ PERL5_PACKLIST_DESTDIR=     no
 FILES_SUBST+=          PERL5_COMMENT=\#
 FILES_SUBST+=          PERL5_PACKLIST=
 
+.PHONY: perl5-post-install
 post-install: perl5-post-install
-
 perl5-post-install:
        ${RUN}if ${TEST} -x ${DESTDIR}${PREFIX}/bin/a2p; then           \
                strip ${DESTDIR}${PREFIX}/bin/a2p;                      \

Index: pkgsrc/lang/perl5/Makefile.common
diff -u pkgsrc/lang/perl5/Makefile.common:1.40 pkgsrc/lang/perl5/Makefile.common:1.41
--- pkgsrc/lang/perl5/Makefile.common:1.40      Wed Jun  3 08:39:16 2020
+++ pkgsrc/lang/perl5/Makefile.common   Mon Aug 31 18:00:37 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.40 2020/06/03 08:39:16 adam Exp $
+# $NetBSD: Makefile.common,v 1.41 2020/08/31 18:00:37 wiz Exp $
 #
 # used by lang/perl5/Makefile
 # used by databases/p5-gdbm/Makefile
 
-DISTNAME=      perl-5.30.3
+DISTNAME=      perl-5.32.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.64 pkgsrc/lang/perl5/buildlink3.mk:1.65
--- pkgsrc/lang/perl5/buildlink3.mk:1.64        Sun Aug 11 13:02:00 2019
+++ pkgsrc/lang/perl5/buildlink3.mk     Mon Aug 31 18:00:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.64 2019/08/11 13:02:00 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.65 2020/08/31 18:00:37 wiz Exp $
 
 BUILDLINK_TREE+=       perl
 
@@ -14,16 +14,17 @@ BUILDLINK_API_DEPENDS.perl+=        perl>=${_pe
 # with the next incompatible version of perl:
 BUILDLINK_API_DEPENDS.perl+=   perl<5.32.0
 
+BUILDLINK_ABI_DEPENDS.perl?=   perl>=5.32.0nb1
 BUILDLINK_PKGSRCDIR.perl?=     ../../lang/perl5
 
 _TOOLS_USE_PKGSRC.perl=        yes
 
-PERL5=         ${LOCALBASE}/bin/perl
+PERL5=         ${PREFIX}/bin/perl
 
 pkgbase := perl
 .include "../../mk/pkg-build-options.mk"
 
-.if !empty(PKG_BUILD_OPTIONS.perl:Mthreads)
+.if ${PKG_BUILD_OPTIONS.perl:Mthreads}
 .  include "../../mk/pthread.buildlink3.mk"
 .endif
 

Index: pkgsrc/lang/perl5/distinfo
diff -u pkgsrc/lang/perl5/distinfo:1.164 pkgsrc/lang/perl5/distinfo:1.165
--- pkgsrc/lang/perl5/distinfo:1.164    Wed Jul 22 15:23:56 2020
+++ pkgsrc/lang/perl5/distinfo  Mon Aug 31 18:00:37 2020
@@ -1,21 +1,18 @@
-$NetBSD: distinfo,v 1.164 2020/07/22 15:23:56 sjmulder Exp $
+$NetBSD: distinfo,v 1.165 2020/08/31 18:00:37 wiz Exp $
 
-SHA1 (perl-5.30.3.tar.xz) = 1003c6aa71d8966501038178459a9fa4e9aba747
-RMD160 (perl-5.30.3.tar.xz) = 7aaec213f6537a53abd8fd97bb96d91b681cdf1e
-SHA512 (perl-5.30.3.tar.xz) = 0ea62cf17532ee99217a218c39aa530472857c7a1982494f3a01693683062b4cdebe383a79f7b64452c713337b554ed5e0fd6eda018ea29e83c3538a13c24f3c
-Size (perl-5.30.3.tar.xz) = 12375128 bytes
+SHA1 (perl-5.32.0.tar.xz) = 0426c89d8ad5542def3e0065c299d449230aeb6c
+RMD160 (perl-5.32.0.tar.xz) = d28af2b0b2fc762f9d0dbf267f81e16d5657bd60
+SHA512 (perl-5.32.0.tar.xz) = 1540247415893bbd94dfeede7b4fba6052688dc0bf27ced817f448246fcdc6e9a6486abc34577dec5b00bf02ed607b2d24ccd4977c3b3c51e8e6edfc0b81c760
+Size (perl-5.32.0.tar.xz) = 12717336 bytes
 SHA1 (patch-Configure) = f3f0f9fa5d146d97c53991185392eff419dcfb35
 SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9
 SHA1 (patch-Safe.pm) = bfeefb82d4cfe991e3a9a90cd87b894c9f4cc337
-SHA1 (patch-alignment_1) = b68c0916b271523922caa7f89edb165284e7b5f4
-SHA1 (patch-alignment_2) = cae8495c4a092e31da422bf5684481091ee2adf3
 SHA1 (patch-caretx.c) = b76b4175a58123fa4dfd2adf36b2207dcb6cf65a
-SHA1 (patch-cflags.SH) = 7ad64e5a17b876bff4bbe238abc4a57354acf4fe
+SHA1 (patch-cflags.SH) = e940e4452768ccc1bdf21d435094e7efffceb925
 SHA1 (patch-cpan_ExtUtils-MakeMaker_lib_ExtUtils_MM__Unix.pm) = 3a2b39c9eb903e68ef7d03ae448c51c147c19aa1
 SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
 SHA1 (patch-hints_darwin.sh) = 0d7a86950877eab23450e80cd99178cf845be63f
 SHA1 (patch-hints_linux.sh) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7
-SHA1 (patch-hints_minix.sh) = cb62ad0be5c38ca5b79f180252ca0843a0444f8a
 SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
-SHA1 (patch-hints_solaris__2.sh) = 0e54889648a6f0f2a0232c5e01bef89d245c213d
+SHA1 (patch-hints_solaris__2.sh) = 364a28ca57dbabe1f902b601e336532996db6a0e
 SHA1 (patch-installperl) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a

Index: pkgsrc/lang/perl5/hacks.mk
diff -u pkgsrc/lang/perl5/hacks.mk:1.25 pkgsrc/lang/perl5/hacks.mk:1.26
--- pkgsrc/lang/perl5/hacks.mk:1.25     Sun Nov  3 19:04:05 2019
+++ pkgsrc/lang/perl5/hacks.mk  Mon Aug 31 18:00:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.25 2019/11/03 19:04:05 rillig Exp $
+# $NetBSD: hacks.mk,v 1.26 2020/08/31 18:00:37 wiz Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined
@@ -36,8 +36,8 @@ CFLAGS+=              -fno-tree-ter
 
 ### [Thu May 14 23:17:20 JST 2015 : ryoon]
 ### Force to use /usr/sfw/lib/amd64/libgcc_s.co.1 instead.
-.if !empty(MACHINE_PLATFORM:MSunOS-5.10-x86_64)
-.  if !empty(CC_VERSION:Mgcc-3.4.3)
+.if ${MACHINE_PLATFORM} == SunOS-5.10-x86_64
+.  if ${CC_VERSION} == gcc-3.4.3
 BUILDLINK_PASSTHRU_RPATHDIRS+= /usr/sfw/lib/amd64
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}/usr/sfw/lib/amd64
 .  endif

Index: pkgsrc/lang/perl5/module.mk
diff -u pkgsrc/lang/perl5/module.mk:1.74 pkgsrc/lang/perl5/module.mk:1.75
--- pkgsrc/lang/perl5/module.mk:1.74    Sun Nov  3 19:04:05 2019
+++ pkgsrc/lang/perl5/module.mk Mon Aug 31 18:00:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.74 2019/11/03 19:04:05 rillig Exp $
+# $NetBSD: module.mk,v 1.75 2020/08/31 18:00:37 wiz Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # and install perl5 modules.
@@ -81,17 +81,17 @@ PERL5_MODTYPE=              makemaker
 BUILDLINK_DEPMETHOD.perl+=     full
 .include "../../lang/perl5/buildlink3.mk"
 
-.if empty(PKGPATH:Mdevel/p5-Module-Build) && \
+.if ${PKGPATH} != devel/p5-Module-Build && \
     (${PERL5_MODULE_TYPE} == "Module::Build")
 BUILD_DEPENDS+=                p5-Module-Build>=0.42050:../../devel/p5-Module-Build
 .endif
 
-.if empty(PKGPATH:Mdevel/p5-Module-Build-Tiny) && \
+.if ${PKGPATH} != devel/p5-Module-Build-Tiny && \
     (${PERL5_MODULE_TYPE} == "Module::Build::Tiny")
 BUILD_DEPENDS+=                p5-Module-Build-Tiny>=0.23:../../devel/p5-Module-Build-Tiny
 .endif
 
-.if empty(PKGPATH:Mdevel/p5-Module-Install) && \
+.if ${PKGPATH} != devel/p5-Module-Install && \
     (${PERL5_MODULE_TYPE} == "Module::Install")
 BUILD_DEPENDS+=                p5-Module-Install>=0.91:../../devel/p5-Module-Install
 .endif

Index: pkgsrc/lang/perl5/patches/patch-cflags.SH
diff -u pkgsrc/lang/perl5/patches/patch-cflags.SH:1.3 pkgsrc/lang/perl5/patches/patch-cflags.SH:1.4
--- pkgsrc/lang/perl5/patches/patch-cflags.SH:1.3       Wed Aug 22 08:37:46 2018
+++ pkgsrc/lang/perl5/patches/patch-cflags.SH   Mon Aug 31 18:00:37 2020
@@ -1,15 +1,15 @@
-$NetBSD: patch-cflags.SH,v 1.3 2018/08/22 08:37:46 wiz Exp $
+$NetBSD: patch-cflags.SH,v 1.4 2020/08/31 18:00:37 wiz Exp $
 
 Don't add -std=c89 or -ansi, requires c99.
 
---- cflags.SH.orig     2018-05-21 12:29:23.000000000 +0000
+--- cflags.SH.orig     2020-06-14 23:01:24.000000000 +0000
 +++ cflags.SH
 @@ -178,7 +178,7 @@ Intel*) ;; # # Is that you, Intel C++?
  # -std=c89 before -ansi
  # -pedantic* before -Werror=d-a-s
  #
--*)  for opt in -std=c89 -ansi $pedantic \
-+*)  for opt in $pedantic \
-               -Werror=declaration-after-statement \
-               -Werror=pointer-arith \
-               -Wextra -W \
+-*) warns="-std=c89 -ansi $pedantic \
++*) warns="$pedantic \
+       -Werror=pointer-arith \
+       -Wextra -W \
+       -Wc++-compat -Wwrite-strings"

Index: pkgsrc/lang/perl5/patches/patch-hints_solaris__2.sh
diff -u pkgsrc/lang/perl5/patches/patch-hints_solaris__2.sh:1.2 pkgsrc/lang/perl5/patches/patch-hints_solaris__2.sh:1.3
--- pkgsrc/lang/perl5/patches/patch-hints_solaris__2.sh:1.2     Tue Oct 27 09:10:44 2015
+++ pkgsrc/lang/perl5/patches/patch-hints_solaris__2.sh Mon Aug 31 18:00:37 2020
@@ -1,15 +1,15 @@
-$NetBSD: patch-hints_solaris__2.sh,v 1.2 2015/10/27 09:10:44 jperkin Exp $
+$NetBSD: patch-hints_solaris__2.sh,v 1.3 2020/08/31 18:00:37 wiz Exp $
 
 Redo PR pkg/44999.
 
---- hints/solaris_2.sh.orig    2015-05-13 20:19:29.000000000 +0000
+--- hints/solaris_2.sh.orig    2020-06-14 23:01:25.000000000 +0000
 +++ hints/solaris_2.sh
 @@ -585,7 +585,7 @@ EOM
                fi
            fi
            case "${cc:-cc} -v 2>/dev/null" in
--          *gcc*)
-+          *gcc*|clang*)
+-          *gcc*|*g++*)
++          *gcc*|*g++*|clang*)
                echo 'int main() { return 0; }' > try.c
                case "`${cc:-cc} $ccflags -mcpu=v9 -m64 -S try.c 2>&1 | grep 'm64 is not supported by this configuration'`" in
                *"m64 is not supported"*)



Home | Main Index | Thread Index | Old Index