Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2015 14:02:47 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384494 - head/emulators/vice/files
Message-ID:  <201504221402.t3ME2l6w012457@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Wed Apr 22 14:02:46 2015
New Revision: 384494
URL: https://svnweb.freebsd.org/changeset/ports/384494

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/emulators/vice/files/patch-doc_html_texi2html   (contents, props changed)

Added: head/emulators/vice/files/patch-doc_html_texi2html
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/vice/files/patch-doc_html_texi2html	Wed Apr 22 14:02:46 2015	(r384494)
@@ -0,0 +1,20 @@
+--- doc/html/texi2html.orig	2008-03-30 15:04:15 UTC
++++ doc/html/texi2html
+@@ -1557,7 +1557,7 @@ sub update_sec_num {
+     $level--; # here we start at 0
+     if ($name =~ /^appendix/) {
+ 	# 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);
+@@ -1565,7 +1565,7 @@ sub update_sec_num {
+ 	return(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);
+ 	} else {
+ 	    @normal_sec_num = (1, 0, 0, 0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504221402.t3ME2l6w012457>