[fftw] 04/06: Add patch from Graham Inggs <ginggs at debian.org> to fix FTBFS with perl 5.22. Closes: #811223

Mattia Rizzolo mattia at debian.org
Fri Feb 12 23:10:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository fftw.

commit da9781e486f949865252e55cccbdb4b532c9a505
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Feb 12 23:01:16 2016 +0000

    Add patch from Graham Inggs <ginggs at debian.org> to fix FTBFS with perl 5.22.  Closes: #811223
---
 debian/patches/fix-texi2html-perl522.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/fix-texi2html-perl522.patch b/debian/patches/fix-texi2html-perl522.patch
new file mode 100644
index 0000000..20e6afe
--- /dev/null
+++ b/debian/patches/fix-texi2html-perl522.patch
@@ -0,0 +1,26 @@
+Description: Fix texi2html for Perl 5.22
+ Fixes FTBFS for arch:all - Can't use 'defined(@array)'
+Bug-Debian: https://bugs.debian.org/811223
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2016-02-05
+
+--- a/doc/texi2html
++++ b/doc/texi2html
+@@ -1526,7 +1526,7 @@
+     $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);
+@@ -1534,7 +1534,7 @@
+ 	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);
diff --git a/debian/patches/series b/debian/patches/series
index 5161e1d..9fc038a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 #04_configure.dpatch
 05_ac_define_syntax.diff
 info-syntax
+fix-texi2html-perl522.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fftw.git



More information about the debian-science-commits mailing list