From owner-svn-ports-all@FreeBSD.ORG Tue Apr 14 12:02:26 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91638550; Tue, 14 Apr 2015 12:02:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61CBA755; Tue, 14 Apr 2015 12:02:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3EC2QwN043116; Tue, 14 Apr 2015 12:02:26 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3EC2Qwk043115; Tue, 14 Apr 2015 12:02:26 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201504141202.t3EC2Qwk043115@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 14 Apr 2015 12:02:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383995 - head/devel/p5-B-C/files X-SVN-Group: ports-head 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.20 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: Tue, 14 Apr 2015 12:02:26 -0000 Author: mat Date: Tue Apr 14 12:02:25 2015 New Revision: 383995 URL: https://svnweb.freebsd.org/changeset/ports/383995 Log: Fix build with Perl 5.21.6+ Obtained from: https://code.google.com/p/perl-compiler/source/detail?r=86223007f5b2e947c81ee2ccbc350d49c000d3c8 Sponsored by: Absolight Added: head/devel/p5-B-C/files/ head/devel/p5-B-C/files/patch-ByteLoader_bytecode.h (contents, props changed) Added: head/devel/p5-B-C/files/patch-ByteLoader_bytecode.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-B-C/files/patch-ByteLoader_bytecode.h Tue Apr 14 12:02:25 2015 (r383995) @@ -0,0 +1,25 @@ +--- ByteLoader/bytecode.h.orig 2014-08-21 22:13:08 UTC ++++ ByteLoader/bytecode.h +@@ -785,13 +785,21 @@ static int bget_swab = 0; + padl = (SV*)pad_new(arg); \ + BSET_OBJ_STOREX(padl); \ + } STMT_END +-#if (PERL_VERSION >= 19) || ( PERL_VERSION == 19 && PERL_SUBVERSION > 3) ++/* PADNAMELIST now a valid lvalue: v5.21.6-197-g0f94cb1 */ ++#if (PERL_VERSION >= 22) || ( PERL_VERSION == 21 && PERL_SUBVERSION > 5) ++#define BSET_padl_name(padl, pad) \ ++ PadlistARRAY((PADLIST*)padl)[0] = (PAD*)pad; \ ++ PadnamelistMAXNAMED((PADNAMELIST*)pad) = AvFILL((AV*)pad) ++#else ++/* extra PADNAMELIST: v5.17.3-49-g36c300b */ ++#if (PERL_VERSION >= 18) || ( PERL_VERSION == 17 && PERL_SUBVERSION > 3) + #define BSET_padl_name(padl, pad) \ + PadlistARRAY((PADLIST*)padl)[0] = (PAD*)pad; \ + PadnamelistMAXNAMED((PAD*)pad) = AvFILL((AV*)pad) + #else + #define BSET_padl_name(padl, pad) PadlistARRAY((PADLIST*)padl)[0] = (PAD*)pad + #endif ++#endif + #define BSET_padl_sym(padl, pad) PadlistARRAY((PADLIST*)padl)[1] = (PAD*)pad + #define BSET_xcv_name_hek(cv, arg) \ + STMT_START { \