Accepting request 71613 from devel:libraries:c_c++

Add FastCGI-perl514.patch: fix compilation with Perl 5.14 (forwarded request 71556 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/71613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/FastCGI?expand=0&rev=13
This commit is contained in:
Sascha Peilicke 2011-05-27 10:16:17 +00:00 committed by Git OBS Bridge
commit d992ce8943
3 changed files with 33 additions and 0 deletions

26
FastCGI-perl514.patch Normal file
View File

@ -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;

View File

@ -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

View File

@ -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