diff --git a/FastCGI-perl514.patch b/FastCGI-perl514.patch new file mode 100644 index 0000000..faaed80 --- /dev/null +++ b/FastCGI-perl514.patch @@ -0,0 +1,26 @@ +--- perl/Makefile.PL 2002-12-15 20:40:19.000000000 +0100 ++++ perl/Makefile.PL 2011-05-26 22:28:06.673024204 +0200 +@@ -99,10 +99,7 @@ + # the contents of the Makefile that is written. + + # Work around bug in previous versions of MakeMaker +-WriteMakefile(NAME => 'FCGI') +- if $ExtUtils::MakeMaker::VERSION <= 5.4302; +- +-$mm = MM->new({ ++WriteMakefile( + 'NAME' => 'FCGI', + 'VERSION_FROM' => 'version.pm', + 'dist' => { 'COMPRESS' => 'gzip -9f', +@@ -123,10 +120,7 @@ + 'PL_FILES' => $plfiles, + PM => {'FCGI.pm' => '$(INST_ARCHLIBDIR)/FCGI.pm'}, + @extras, +-}); +-# don't install oldinterface pod +-delete $mm->{MAN3PODS}{oldinterface.pod}; +-$mm->flush; ++); + + exit if -f 'fcgi_config.h' or $libfound or $pure; + diff --git a/FastCGI.changes b/FastCGI.changes index 6555b04..304e3e1 100644 --- a/FastCGI.changes +++ b/FastCGI.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 26 20:30:01 UTC 2011 - idonmez@novell.com + +- Add FastCGI-perl514.patch: fix compilation with Perl 5.14 + ------------------------------------------------------------------- Mon Dec 6 09:25:04 UTC 2010 - coolo@novell.com diff --git a/FastCGI.spec b/FastCGI.spec index 618220d..e654c91 100644 --- a/FastCGI.spec +++ b/FastCGI.spec @@ -36,6 +36,7 @@ Patch1: FastCGI-clientdata_pointer.patch Patch2: FastCGI-supervise_cgi-fcgi.patch Patch3: fastcgi-2.4.0_missing_call_to_fclose.patch Patch4: FastCGI-gcc44.patch +Patch5: FastCGI-perl514.patch # Summary: A Scalable, Open Extension to CGI @@ -80,6 +81,7 @@ APIs. %patch2 %patch3 %patch4 +%patch5 touch NEWS AUTHORS ChangeLog COPYING find doc/{fastcgi-prog-guide,fastcgi-whitepaper} -type f -print0 | xargs -r0 chmod 0644