zlogene     14/09/28 15:53:17

  Added:                perl-5.20-build.patch
  Log:
  Fix build against perl-5.20 (bug #520158)
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
0xC42EB5D6)

Revision  Changes    Path
1.1                  dev-perl/PerlIO-gzip/files/perl-5.20-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PerlIO-gzip/files/perl-5.20-build.patch?rev=1.1&content-type=text/plain

Index: perl-5.20-build.patch
===================================================================
--- a/Makefile.PL       2006-10-01 21:28:25.000000000 +0000
+++ b/Makefile.PL       2014-01-23 15:40:56.784222851 +0000
@@ -4,7 +4,8 @@
 use ExtUtils::MakeMaker;
 use Config;
 
-unless ($Config{useperlio} eq 'define' and $Config{usesfio} eq 'false') {
+unless ($Config{useperlio} eq 'define' and
+       (defined($Config{usesfio}) ? $Config{usesfio} : 'false') eq 'false') {
   die <<BARF;
 You need perl 5.8.0 or later, configured to use perlio (and not to use sfio)
 BARF




Reply via email to