Source: xemacs21-packages Version: 2009.02.17.dfsg.2-2 Severity: important User: debian-p...@lists.debian.org Usertags: perl-cwd-inc-removal Tags: patch
This package FTBFS when '.' is removed from @INC, as seen at [1]. This change is being made for security reasons; for more background, see #588017 and [2]. Please see the attached patch which fixes this. This bug will become RC when the perl package change removing '.' from @INC by default is uploaded to unstable, expected in a week or two. Thanks, Dominic. [1] <http://perl.debian.net/rebuild-logs/experimental/xemacs21-packages_2009.02.17.dfsg.2-2/xemacs21-packages_2009.02.17.dfsg.2-2_amd64-2016-08-16T19%3A13%3A31Z.build> [2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
diff -urN xemacs21-packages-2009.02.17.dfsg.2.orig/debian/convert-in-file xemacs21-packages-2009.02.17.dfsg.2/debian/convert-in-file --- xemacs21-packages-2009.02.17.dfsg.2.orig/debian/convert-in-file 2014-01-23 10:43:49.000000000 +0000 +++ xemacs21-packages-2009.02.17.dfsg.2/debian/convert-in-file 2016-08-26 11:43:28.880351316 +0100 @@ -1,5 +1,7 @@ #!/usr/bin/perl +BEGIN { unshift @INC, '.' } + my $vf = shift(@ARGV); require "$vf";