summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/SpeedyCGI/files/SpeedyCGI-2.22-perl5.10.patch')
-rw-r--r--dev-perl/SpeedyCGI/files/SpeedyCGI-2.22-perl5.10.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-perl/SpeedyCGI/files/SpeedyCGI-2.22-perl5.10.patch b/dev-perl/SpeedyCGI/files/SpeedyCGI-2.22-perl5.10.patch
new file mode 100644
index 000000000000..8445dad26683
--- /dev/null
+++ b/dev-perl/SpeedyCGI/files/SpeedyCGI-2.22-perl5.10.patch
@@ -0,0 +1,26 @@
+Author: Niko Tyni <ntyni@debian.org>
+Description: Fix build failures with Perl 5.10.
+Pod::Text::pod2text() calling conventions changed
+use Newx() instead of New()
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -71,7 +71,7 @@
+ chmod -R u+w,go-w,go+r .
+
+ README: src/SpeedyCGI.pm
+- cd src && $(PERL) -e "use Pod::Text; pod2text(-80)" <SpeedyCGI.pm >../README
++ cd src && pod2text -80 <SpeedyCGI.pm >../README
+
+ README.html: src/SpeedyCGI.pm
+ cd src && pod2html SpeedyCGI.pm >../README.html && $(RM_F) pod2h*
+--- a/src/speedy_backend_main.h
++++ b/src/speedy_backend_main.h
+@@ -38,7 +38,7 @@
+
+ #else
+
+-#define speedy_new(s,n,t) New(123,s,n,t)
++#define speedy_new(s,n,t) Newx(s,n,t)
+ #define speedy_renew Renew
+ #define speedy_free Safefree
+