From owner-svn-ports-head@freebsd.org Sun May 12 16:37:15 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C255B159B522; Sun, 12 May 2019 16:37:15 +0000 (UTC) (envelope-from sunpoet@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63432760EE; Sun, 12 May 2019 16:37:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF0652D272; Sun, 12 May 2019 16:37:12 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4CGbCFi011507; Sun, 12 May 2019 16:37:12 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4CGbC0c011505; Sun, 12 May 2019 16:37:12 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201905121637.x4CGbC0c011505@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 12 May 2019 16:37:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501410 - in head/devel/p5-Devel-BeginLift: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/p5-Devel-BeginLift: . files X-SVN-Commit-Revision: 501410 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 63432760EE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2019 16:37:16 -0000 Author: sunpoet Date: Sun May 12 16:37:12 2019 New Revision: 501410 URL: https://svnweb.freebsd.org/changeset/ports/501410 Log: Remove outdated PERL_LEVEL check With hat: perl Added: head/devel/p5-Devel-BeginLift/files/patch-BeginLift.xs - copied unchanged from r501409, head/devel/p5-Devel-BeginLift/files/extra-patch-BeginLift.xs Deleted: head/devel/p5-Devel-BeginLift/files/extra-patch-BeginLift.xs Modified: head/devel/p5-Devel-BeginLift/Makefile Modified: head/devel/p5-Devel-BeginLift/Makefile ============================================================================== --- head/devel/p5-Devel-BeginLift/Makefile Sun May 12 16:37:06 2019 (r501409) +++ head/devel/p5-Devel-BeginLift/Makefile Sun May 12 16:37:12 2019 (r501410) @@ -18,10 +18,4 @@ RUN_DEPENDS= \ USES= perl5 USE_PERL5= configure -.include - -.if ${PERL_LEVEL} >= 502501 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-BeginLift.xs -.endif - -.include +.include Copied: head/devel/p5-Devel-BeginLift/files/patch-BeginLift.xs (from r501409, head/devel/p5-Devel-BeginLift/files/extra-patch-BeginLift.xs) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Devel-BeginLift/files/patch-BeginLift.xs Sun May 12 16:37:12 2019 (r501410, copy of r501409, head/devel/p5-Devel-BeginLift/files/extra-patch-BeginLift.xs) @@ -0,0 +1,44 @@ +--- BeginLift.xs.orig 2010-05-11 06:01:00 UTC ++++ BeginLift.xs +@@ -8,10 +8,6 @@ + + #include "hook_op_check_entersubforcv.h" + +-/* lifted from op.c */ +- +-#define LINKLIST(o) ((o)->op_next ? (o)->op_next : linklist((OP*)o)) +- + #ifndef linklist + # define linklist(o) THX_linklist(aTHX_ o) + STATIC OP *THX_linklist(pTHX_ OP *o) { +@@ -24,9 +20,9 @@ STATIC OP *THX_linklist(pTHX_ OP *o) { + o->op_next = LINKLIST(first); + kid = first; + for (;;) { +- if (kid->op_sibling) { +- kid->op_next = LINKLIST(kid->op_sibling); +- kid = kid->op_sibling; ++ if (OpHAS_SIBLING(kid)) { ++ kid->op_next = LINKLIST(OpSIBLING(kid)); ++ kid = OpSIBLING(kid); + } else { + kid->op_next = o; + break; +@@ -61,7 +57,7 @@ STATIC OP *lift_cb(pTHX_ OP *o, CV *cv, + PUSHMARK(SP); /* push a mark for the arguments */ + + /* push an arg for every sibling op */ +- for ( arg = curop->op_sibling; arg->op_sibling; arg = arg->op_sibling ) { ++ for ( arg = OpSIBLING(arg); OpHAS_SIBLING(arg); arg = OpSIBLING(arg) ) { + XPUSHs(sv_bless(newRV_inc(newSViv(PTR2IV(arg))), gv_stashpv("B::LISTOP", 0))); + } + +@@ -96,7 +92,7 @@ STATIC OP *lift_cb(pTHX_ OP *o, CV *cv, + + if (SvROK(sv) && sv_derived_from(sv, "B::OP")) { + OP *new = INT2PTR(OP *,SvIV((SV *)SvRV(sv))); +- new->op_sibling = NULL; ++ new->op_sibparent = NULL; + + /* FIXME this is bullshit */ + if ( (PL_opargs[new->op_type] & OA_CLASS_MASK) != OA_SVOP ) {