From owner-svn-ports-all@FreeBSD.ORG Mon Apr 20 17:26:29 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 95D483FD; Mon, 20 Apr 2015 17:26:29 +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 84336343; Mon, 20 Apr 2015 17:26:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3KHQTqj074570; Mon, 20 Apr 2015 17:26:29 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3KHQTt3074569; Mon, 20 Apr 2015 17:26:29 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201504201726.t3KHQTt3074569@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 20 Apr 2015 17:26:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384372 - head/math/oleo/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: Mon, 20 Apr 2015 17:26:29 -0000 Author: mat Date: Mon Apr 20 17:26:28 2015 New Revision: 384372 URL: https://svnweb.freebsd.org/changeset/ports/384372 Log: Fix build with Perl 5.21.1+ "defined(@array)" and "defined(%hash)" are now fatal errors These have been deprecated since v5.6.1 and have raised deprecation warnings since v5.16. With hat: perl@ Sponsored by: Absolight Added: head/math/oleo/files/patch-doc_texi2html.in (contents, props changed) Added: head/math/oleo/files/patch-doc_texi2html.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/oleo/files/patch-doc_texi2html.in Mon Apr 20 17:26:28 2015 (r384372) @@ -0,0 +1,23 @@ +--- doc/texi2html.in.orig 2015-04-20 17:22:33 UTC ++++ doc/texi2html.in +@@ -3790,9 +3790,9 @@ sub update_sec_num { + my $ret; + + $level--; # here we start at 0 +- if ($name =~ /^appendix/ || defined(@appendix_sec_num)) { ++ if ($name =~ /^appendix/ || @appendix_sec_num) { + # appendix style +- if (defined(@appendix_sec_num)) { ++ if (@appendix_sec_num) { + &incr_sec_num($level, @appendix_sec_num); + } else { + @appendix_sec_num = ('A', 0, 0, 0); +@@ -3800,7 +3800,7 @@ sub update_sec_num { + $ret = join('.', @appendix_sec_num[0..$level]); + } else { + # normal style +- if (defined(@normal_sec_num)) ++ if (@normal_sec_num) + { + &incr_sec_num($level, @normal_sec_num); + }