From: Jan Rękorajski Date: Wed, 17 Sep 2014 05:55:43 +0000 (+0200) Subject: - fix building with perl 5.20 X-Git-Tag: auto/th/perl-PerlIO-gzip-0.18-7~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=7ad81f141f7f7188961451e6cbd706dad3057276;p=packages%2Fperl-PerlIO-gzip.git - fix building with perl 5.20 --- diff --git a/config_usesfio.patch b/config_usesfio.patch new file mode 100644 index 0000000..8c325d6 --- /dev/null +++ b/config_usesfio.patch @@ -0,0 +1,12 @@ +--- 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 <= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 @@ -32,6 +33,7 @@ plikach w formatach używanych przez program gzip. %prep %setup -q -n %{pdir}-%{pnam}-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL \