From nobody Sun Apr 09 13:43:57 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PvYH22H6Qz44TXJ; Sun, 9 Apr 2023 13:43:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PvYH16m62z3Jps; Sun, 9 Apr 2023 13:43:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681047838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0eQW0r76nIg3HovdZkbv8rivrA29jHSF7bUsKcMeHDE=; b=vvlY7RT9X06bhcuX3YOBDtBHsQFUEsj0K36B/JdvMURFodVhWDkwpTgxu3AXonnTQD/r3d h1jTG+JE3qiCFZE2RlOurSWzImhrtDTWJ0m91e2DfY6FqZ+Btc5+PASeW9m8rGrj6GX1// 5E/lPK2MASFuE5PjWVT+sujA5Kh89wiFmA+r7rJdT3YuDLa+EfOY8kYW1j0cAZ8uhXQiT2 rJa9I2QVZ4OtDQwiA+moxKRot4HYXO6U6o7AMASAwXfSmg6YT5CueDwSmJFyAqmpsrUkhE N4DjMdX+OwE7Aa4KFNBcojVktoKlbEY5dYiEXFiBU7qMV3LBuyk8OcKcsKpLCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681047837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0eQW0r76nIg3HovdZkbv8rivrA29jHSF7bUsKcMeHDE=; b=UkPFDHyZOA8eZmayLyeWd/KCGi0D5rxxLR6yXtI416C6ZSHBnB0zh+XftHu6v1/XEcdOVa xyXvrmFLaNBRRItVPpo7NLq4cKaHcG46IVaGQrsOCx+A55ujNkF02/tXtY0IqzFs60YPB4 I2R9eW6WmpkNuc7D3LrIPo+v7y/6GA/IjIIMD8luesUYEY0KSA2B9xgU1o6aUbvsX0wsmp 3kBFqFewc9MLKJzQBdzwQZXC81CSSRWoa4jgJ32UtKr4kffPI/6Zk8tDydASCFGIPmQo9R psRUXB3PYsKkJCseezgDrlMYZRptViK4ZGSdLeiGd+x9pbjsg7dh3vApvP7IKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681047837; a=rsa-sha256; cv=none; b=Bbz8RUwM1IFNrWVn60oG74b7VqEFHV3FEk26SwXZW6rRJmB2HIsSeULIoR+lMpNAC8EYDm kMF4YqfxJz8UTXAOnF6C5L5kvucP/+R6RteTjgPGZ/gaLHel5LfaaNcu24qIhWyGd38aOR PDeL7R6Bb0UnbGhjDRJhPXQvXhHrfO7iIq34eXrPw7aExB8CTyOurC3cR1xU6aRDaIUB1o O/5pb+C70f+KI3hpxYsIm7dFDRVZe7a5ee6tch3q4z9/HULH8r91Fr4Uz95RsvOAON6UYE LZTYp2K/26gJGHyrvhZz4WhAPqGdxJ+IeMjg0zhTCZAlHY8sfRD44hmYN9xV+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PvYH15gZfz198x; Sun, 9 Apr 2023 13:43:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 339Dhv9M001064; Sun, 9 Apr 2023 13:43:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 339DhvGN001063; Sun, 9 Apr 2023 13:43:57 GMT (envelope-from git) Date: Sun, 9 Apr 2023 13:43:57 GMT Message-Id: <202304091343.339DhvGN001063@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 40d59e9b3030 - main - devel/p5-Lexical-Var: Update to 0.010 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 40d59e9b3030621ce3398168420180f2af1ff488 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=40d59e9b3030621ce3398168420180f2af1ff488 commit 40d59e9b3030621ce3398168420180f2af1ff488 Author: Po-Chuan Hsieh AuthorDate: 2023-04-09 13:34:50 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-09 13:37:29 +0000 devel/p5-Lexical-Var: Update to 0.010 - Convert REINPLACE_CMD to patch files Changes: https://metacpan.org/dist/Lexical-Var/changes --- devel/p5-Lexical-Var/Makefile | 6 +-- devel/p5-Lexical-Var/distinfo | 5 +- devel/p5-Lexical-Var/files/patch-Build.PL | 10 ++++ .../p5-Lexical-Var/files/patch-lib-Lexical-Var.pm | 10 ++++ .../p5-Lexical-Var/files/patch-lib_Lexical_Var.xs | 58 ---------------------- 5 files changed, 24 insertions(+), 65 deletions(-) diff --git a/devel/p5-Lexical-Var/Makefile b/devel/p5-Lexical-Var/Makefile index e85e78dd9158..96a7e6946897 100644 --- a/devel/p5-Lexical-Var/Makefile +++ b/devel/p5-Lexical-Var/Makefile @@ -1,6 +1,5 @@ PORTNAME= Lexical-Var -PORTVERSION= 0.009 -PORTREVISION= 2 +PORTVERSION= 0.010 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,9 +14,6 @@ LICENSE_COMB= dual USES= perl5 USE_PERL5= modbuild -post-patch: - @${REINPLACE_CMD} -e '/Lexical::SealRequireHints/d' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Lexical/Var.pm - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Lexical/Var/Var.so diff --git a/devel/p5-Lexical-Var/distinfo b/devel/p5-Lexical-Var/distinfo index fb740cfa1272..3dc30ef3143b 100644 --- a/devel/p5-Lexical-Var/distinfo +++ b/devel/p5-Lexical-Var/distinfo @@ -1,2 +1,3 @@ -SHA256 (Lexical-Var-0.009.tar.gz) = 3a88efbef138dd7392169ed155c340db10d4d7c784b5e13eb7ec094ced98e319 -SIZE (Lexical-Var-0.009.tar.gz) = 31859 +TIMESTAMP = 1680726440 +SHA256 (Lexical-Var-0.010.tar.gz) = 26f7e63a19508d23588ddbda7a35bdf803424955badb05ddcbd3c75151e40a9a +SIZE (Lexical-Var-0.010.tar.gz) = 40757 diff --git a/devel/p5-Lexical-Var/files/patch-Build.PL b/devel/p5-Lexical-Var/files/patch-Build.PL new file mode 100644 index 000000000000..d948b59df8f6 --- /dev/null +++ b/devel/p5-Lexical-Var/files/patch-Build.PL @@ -0,0 +1,10 @@ +--- Build.PL.orig 2023-03-24 10:09:57 UTC ++++ Build.PL +@@ -23,7 +23,6 @@ Module::Build->new( + "warnings" => 0, + }, + requires => { +- "Lexical::SealRequireHints" => "0.012", + "XSLoader" => 0, + "perl" => "5.006", + "strict" => 0, diff --git a/devel/p5-Lexical-Var/files/patch-lib-Lexical-Var.pm b/devel/p5-Lexical-Var/files/patch-lib-Lexical-Var.pm new file mode 100644 index 000000000000..8aa3bceb437c --- /dev/null +++ b/devel/p5-Lexical-Var/files/patch-lib-Lexical-Var.pm @@ -0,0 +1,10 @@ +--- lib/Lexical/Var.pm.orig 2023-03-24 10:09:57 UTC ++++ lib/Lexical/Var.pm +@@ -63,7 +63,6 @@ variable for each invocation of a function, use C. + package Lexical::Var; + + { use 5.006; } +-use Lexical::SealRequireHints 0.012; + use warnings; + use strict; + diff --git a/devel/p5-Lexical-Var/files/patch-lib_Lexical_Var.xs b/devel/p5-Lexical-Var/files/patch-lib_Lexical_Var.xs deleted file mode 100644 index 5b9c0e65444a..000000000000 --- a/devel/p5-Lexical-Var/files/patch-lib_Lexical_Var.xs +++ /dev/null @@ -1,58 +0,0 @@ ---- lib/Lexical/Var.xs.orig 2013-08-25 18:51:34 UTC -+++ lib/Lexical/Var.xs -@@ -62,7 +62,12 @@ typedef AV PAD; - #endif /* !COP_SEQ_RANGE_LOW */ - - #ifndef COP_SEQ_RANGE_LOW_set --# if PERL_VERSION_GE(5,9,5) -+# ifdef newPADNAMEpvn -+# define COP_SEQ_RANGE_LOW_set(sv,val) \ -+ do { (sv)->xpadn_low = (val); } while(0) -+# define COP_SEQ_RANGE_HIGH_set(sv,val) \ -+ do { (sv)->xpadn_high = (val); } while(0) -+# elif PERL_VERSION_GE(5,9,5) - # define COP_SEQ_RANGE_LOW_set(sv,val) \ - do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xlow = val; } while(0) - # define COP_SEQ_RANGE_HIGH_set(sv,val) \ -@@ -95,6 +100,12 @@ static SV *THX_newSV_type(pTHX_ svtype t - # define GV_NOTQUAL 0 - #endif /* !GV_NOTQUAL */ - -+#ifndef padnamelist_store -+ /* Note that the return values are different. If we ever call it in non- -+ void context, we would have to change it to *av_store. */ -+# define padnamelist_store av_store -+#endif -+ - /* - * scalar classification - * -@@ -460,13 +471,18 @@ static void THX_setup_pad(pTHX_ CV *comp - PADNAMELIST *padname = PadlistNAMES(padlist); - PAD *padvar = PadlistARRAY(padlist)[1]; - PADOFFSET ouroffset; -- SV *ourname, *ourvar; -+ PADNAME *ourname; -+ SV *ourvar; - HV *stash; - ourvar = *av_fetch(padvar, PadMAX(padvar) + 1, 1); - SvPADMY_on(ourvar); - ouroffset = PadMAX(padvar); -+#ifdef newPADNAMEpvn -+ ourname = newPADNAMEpvn(name, strlen(name)); -+#else - ourname = newSV_type(SVt_PADNAME); - sv_setpv(ourname, name); -+#endif - SvPAD_OUR_on(ourname); - stash = name[0] == '$' ? stash_lex_sv : - name[0] == '@' ? stash_lex_av : stash_lex_hv; -@@ -474,7 +490,7 @@ static void THX_setup_pad(pTHX_ CV *comp - COP_SEQ_RANGE_LOW_set(ourname, PL_cop_seqmax); - COP_SEQ_RANGE_HIGH_set(ourname, pad_max()); - PL_cop_seqmax++; -- av_store(padname, ouroffset, ourname); -+ padnamelist_store(padname, ouroffset, ourname); - #ifdef PadnamelistMAXNAMED - PadnamelistMAXNAMED(padname) = ouroffset; - #endif /* PadnamelistMAXNAMED */