diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-22 22:02:46 +0800 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-22 22:02:46 +0800 |
commit | 74f8a8d0de263e685dd8de72ad0b1c3008b900a1 (patch) | |
tree | d2d02049a5dd7c566066ec30879235bcaf74960d /emulators/vice/files | |
parent | 5cf180ff91a749a5971a32fa47a010ef705f8a6f (diff) | |
download | freebsd-ports-gnome-74f8a8d0de263e685dd8de72ad0b1c3008b900a1.tar.gz freebsd-ports-gnome-74f8a8d0de263e685dd8de72ad0b1c3008b900a1.tar.zst freebsd-ports-gnome-74f8a8d0de263e685dd8de72ad0b1c3008b900a1.zip |
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
Diffstat (limited to 'emulators/vice/files')
-rw-r--r-- | emulators/vice/files/patch-doc_html_texi2html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/vice/files/patch-doc_html_texi2html b/emulators/vice/files/patch-doc_html_texi2html new file mode 100644 index 000000000000..3400bb8ea306 --- /dev/null +++ b/emulators/vice/files/patch-doc_html_texi2html @@ -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); |