diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile index 71c5d95efd8..b10db699138 100644 --- a/www/p5-CGI-SpeedyCGI/Makefile +++ b/www/p5-CGI-SpeedyCGI/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2007/11/08 06:43:47 jakob Exp $ +# $OpenBSD: Makefile,v 1.8 2008/10/02 05:58:56 simon Exp $ SHARED_ONLY= Yes @@ -7,7 +7,7 @@ COMMENT= speed up perl scripts by running them persistently MODULES= cpan VERSION= 2.22 DISTNAME= CGI-SpeedyCGI-${VERSION} -PKGNAME= p5-CGI-SpeedyCGI-${VERSION}p0 +PKGNAME= p5-CGI-SpeedyCGI-${VERSION}p1 CATEGORIES= www HOMEPAGE= http://daemoninc.com/SpeedyCGI/ diff --git a/www/p5-CGI-SpeedyCGI/patches/patch-Makefile_PL b/www/p5-CGI-SpeedyCGI/patches/patch-Makefile_PL index e25ef534d68..0d1892f52b4 100644 --- a/www/p5-CGI-SpeedyCGI/patches/patch-Makefile_PL +++ b/www/p5-CGI-SpeedyCGI/patches/patch-Makefile_PL @@ -1,7 +1,7 @@ -$OpenBSD: patch-Makefile_PL,v 1.2 2003/10/31 10:23:47 kevlo Exp $ ---- Makefile.PL.orig 2003-10-05 06:40:46.000000000 +0000 -+++ Makefile.PL 2003-10-31 11:14:26.000000000 +0000 -@@ -16,12 +16,12 @@ requires a working copy of "apxs" in you +$OpenBSD: patch-Makefile_PL,v 1.3 2008/10/02 05:58:56 simon Exp $ +--- Makefile.PL.orig Sun Oct 5 08:40:46 2003 ++++ Makefile.PL Thu Oct 2 00:21:22 2008 +@@ -16,12 +16,12 @@ requires a working copy of "apxs" in your path, Apache support, and additional Apache configuration. END @@ -16,3 +16,12 @@ $OpenBSD: patch-Makefile_PL,v 1.2 2003/10/31 10:23:47 kevlo Exp $ die "ERROR: Command 'apxs -q CC' failed.\n" unless $macro->{APACHE_APXS_WORKS}; print "Compiling for Apache version $macro->{APACHE_VERSION}\n"; +@@ -71,7 +71,7 @@ readable: + chmod -R u+w,go-w,go+r . + + README: src/SpeedyCGI.pm +- cd src && $(PERL) -e "use Pod::Text; pod2text(-80)" ../README ++ cd src && pod2text -80 ../README + + README.html: src/SpeedyCGI.pm + cd src && pod2html SpeedyCGI.pm >../README.html && $(RM_F) pod2h* diff --git a/www/p5-CGI-SpeedyCGI/patches/patch-src_speedy_backend_main_h b/www/p5-CGI-SpeedyCGI/patches/patch-src_speedy_backend_main_h new file mode 100644 index 00000000000..5b180b3b9de --- /dev/null +++ b/www/p5-CGI-SpeedyCGI/patches/patch-src_speedy_backend_main_h @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_speedy_backend_main_h,v 1.1 2008/10/02 05:58:56 simon Exp $ +--- src/speedy_backend_main.h.orig Thu Oct 2 00:21:40 2008 ++++ src/speedy_backend_main.h Thu Oct 2 00:23:12 2008 +@@ -38,7 +38,7 @@ void * efence_realloc (void *ptr, size_t size); + + #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 +