Date: Sun, 12 May 2019 16:37:43 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501416 - in head/devel/p5-UNIVERSAL-ref: . files Message-ID: <201905121637.x4CGbhig012186@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 12 16:37:43 2019 New Revision: 501416 URL: https://svnweb.freebsd.org/changeset/ports/501416 Log: Remove outdated PERL_LEVEL check Added: head/devel/p5-UNIVERSAL-ref/files/patch-ref.xs - copied unchanged from r501415, head/devel/p5-UNIVERSAL-ref/files/extra-patch-ref.xs Deleted: head/devel/p5-UNIVERSAL-ref/files/extra-patch-ref.xs Modified: head/devel/p5-UNIVERSAL-ref/Makefile Modified: head/devel/p5-UNIVERSAL-ref/Makefile ============================================================================== --- head/devel/p5-UNIVERSAL-ref/Makefile Sun May 12 16:37:37 2019 (r501415) +++ head/devel/p5-UNIVERSAL-ref/Makefile Sun May 12 16:37:43 2019 (r501416) @@ -17,10 +17,4 @@ RUN_DEPENDS= p5-B-Utils>=0:devel/p5-B-Utils USES= perl5 USE_PERL5= configure -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} >= 502501 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ref.xs -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> Copied: head/devel/p5-UNIVERSAL-ref/files/patch-ref.xs (from r501415, head/devel/p5-UNIVERSAL-ref/files/extra-patch-ref.xs) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-UNIVERSAL-ref/files/patch-ref.xs Sun May 12 16:37:43 2019 (r501416, copy of r501415, head/devel/p5-UNIVERSAL-ref/files/extra-patch-ref.xs) @@ -0,0 +1,19 @@ +Patch for Perl 0.25 and newer, where op_sibling has been replaced with +op_sibparent which points to a sibling if the op has one and its parent +otherwise. See <https://rt.cpan.org/Public/Bug/Display.html?id=118008>. + +--- ref.xs.orig 2011-01-23 19:17:15 UTC ++++ ref.xs +@@ -89,9 +89,9 @@ void universal_ref_fixupop( OP* o ) { + universal_ref_fixupop(cUNOPx(o)->op_first); + } + +- if ( o->op_sibling ) { +- UNIVERSAL_REF_DEBUG(printf("# ->sibling=%x\n",o->op_sibling)); +- universal_ref_fixupop(o->op_sibling); ++ if ( OpHAS_SIBLING(o) ) { ++ UNIVERSAL_REF_DEBUG(printf("# ->sibling=%x\n",OpSIBLING(o))); ++ universal_ref_fixupop(OpSIBLING(o)); + } + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905121637.x4CGbhig012186>