Source: fftw
Version: 2.1.5-4
Severity: serious
Tags: patch
Justification: makes the package in question unusable or mostly so
Control: block 836917 by -1

Dear Maintainer,

The upload of openmpi (2.0.1-3) has triggered an uncoordinated
transition (#836917). Unfortunately your package FTBFS due to the recent
change in perl:

 https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html

The attached patch adds . back to @INC if it's not present, to fix the
bfnnconv.pl failure to execute m-ascii.pl.

Kind Regards,

Bas
diff -Nru fftw-2.1.5/debian/patches/perl-dot-in-INC.patch fftw-2.1.5/debian/patches/perl-dot-in-INC.patch
--- fftw-2.1.5/debian/patches/perl-dot-in-INC.patch	1970-01-01 01:00:00.000000000 +0100
+++ fftw-2.1.5/debian/patches/perl-dot-in-INC.patch	2016-09-08 13:11:40.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Add . to @INC if removed for CVE-2016-1238.
+ bfnnconv.pl fails to execute m-ascii.pl otherwise.
+ See also: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html
+Author: Bas Couwenberg <sebas...@debian.org>
+
+--- a/FAQ/bfnnconv.pl
++++ b/FAQ/bfnnconv.pl
+@@ -21,6 +21,11 @@
+ # by the GPL.  However, I would appreciate it if you credited me if
+ # appropriate in any documents you format using BFNN.)
+ 
++# Add . to @INC if removed for CVE-2016-1238
++BEGIN {
++    push @INC, "." if(!grep /^\.$/, @INC);
++}
++
+ @outputs=('ascii','info','html');
+ 
+ while ($ARGV[0] =~ m/^\-/) {
diff -Nru fftw-2.1.5/debian/patches/series fftw-2.1.5/debian/patches/series
--- fftw-2.1.5/debian/patches/series	2016-07-11 08:55:51.000000000 +0200
+++ fftw-2.1.5/debian/patches/series	2016-09-08 13:08:54.000000000 +0200
@@ -4,3 +4,4 @@
 05_ac_define_syntax.diff
 info-syntax
 fix-texi2html-perl522.patch
+perl-dot-in-INC.patch

Reply via email to