From owner-svn-ports-all@freebsd.org Mon Sep 10 11:54:22 2018 Return-Path: Delivered-To: svn-ports-all@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 48E09108D0E6; Mon, 10 Sep 2018 11:54:22 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED6C67CF18; Mon, 10 Sep 2018 11:54:21 +0000 (UTC) (envelope-from des@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 DF6E327F62; Mon, 10 Sep 2018 11:54:21 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8ABsL5a005969; Mon, 10 Sep 2018 11:54:21 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8ABsLBQ005966; Mon, 10 Sep 2018 11:54:21 GMT (envelope-from des@FreeBSD.org) Message-Id: <201809101154.w8ABsLBQ005966@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: des set sender to des@FreeBSD.org using -f From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Date: Mon, 10 Sep 2018 11:54:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479393 - in head/devel/p5-UNIVERSAL-ref: . files X-SVN-Group: ports-head X-SVN-Commit-Author: des X-SVN-Commit-Paths: in head/devel/p5-UNIVERSAL-ref: . files X-SVN-Commit-Revision: 479393 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 11:54:22 -0000 Author: des Date: Mon Sep 10 11:54:21 2018 New Revision: 479393 URL: https://svnweb.freebsd.org/changeset/ports/479393 Log: Unbreak on newer Perl. Added: head/devel/p5-UNIVERSAL-ref/files/ head/devel/p5-UNIVERSAL-ref/files/extra-patch-ref.xs (contents, props changed) Modified: head/devel/p5-UNIVERSAL-ref/Makefile Modified: head/devel/p5-UNIVERSAL-ref/Makefile ============================================================================== --- head/devel/p5-UNIVERSAL-ref/Makefile Mon Sep 10 11:22:55 2018 (r479392) +++ head/devel/p5-UNIVERSAL-ref/Makefile Mon Sep 10 11:54:21 2018 (r479393) @@ -20,7 +20,7 @@ USE_PERL5= configure .include .if ${PERL_LEVEL} >= 502501 -BROKEN= Does not build, op_sibling usage. https://rt.cpan.org/Public/Bug/Display.html?id=118008 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ref.xs .endif .include Added: 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/extra-patch-ref.xs Mon Sep 10 11:54:21 2018 (r479393) @@ -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 . + +--- 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)); + } + } +