diff options
author | jlam <jlam@pkgsrc.org> | 2001-12-31 23:54:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-12-31 23:54:49 +0000 |
commit | f9eccf24852043057e252d94e92faceea0843d9b (patch) | |
tree | 42121b967aed2aca05b55acd89edf710a5180199 /www/php4-apc | |
parent | 3b2ee66b8afde2082614c64f15135b34009f81ab (diff) | |
download | pkgsrc-f9eccf24852043057e252d94e92faceea0843d9b.tar.gz |
Adapt to the new Zend API from php-4.1.0.
Diffstat (limited to 'www/php4-apc')
-rw-r--r-- | www/php4-apc/Makefile | 4 | ||||
-rw-r--r-- | www/php4-apc/distinfo | 3 | ||||
-rw-r--r-- | www/php4-apc/patches/patch-ae | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/www/php4-apc/Makefile b/www/php4-apc/Makefile index a2d8bb7c18c..245d8eee5fb 100644 --- a/www/php4-apc/Makefile +++ b/www/php4-apc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/10/29 16:50:16 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2001/12/31 23:54:49 jlam Exp $ .include "../../www/php4/Makefile.module" @@ -18,7 +18,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME} USE_BUILDLINK_ONLY= YES CONFIGURE_ARGS+= --enable-${MODNAME} -PLIST_SRC+= ${PKGDIR}/PLIST.extras +PLIST_SRC+= ${.CURDIR}/PLIST.extras PLIST_SUBST+= PKGBASE="${PKGBASE}" DOCDIR= ${PREFIX}/share/doc/${PKGBASE} EGDIR= ${PREFIX}/share/examples/${PKGBASE} diff --git a/www/php4-apc/distinfo b/www/php4-apc/distinfo index e2eab2c1834..71eae42774b 100644 --- a/www/php4-apc/distinfo +++ b/www/php4-apc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/10/29 19:33:49 jlam Exp $ +$NetBSD: distinfo,v 1.3 2001/12/31 23:54:49 jlam Exp $ SHA1 (apc-1.1.0pl1.tar.gz) = 7deac1c4c1989ab4cf9e2b9f16b7823d3731b6b4 Size (apc-1.1.0pl1.tar.gz) = 240886 bytes @@ -6,3 +6,4 @@ SHA1 (patch-aa) = 20cf6cc1568979a1a3d103c40f62463ae2354e3e SHA1 (patch-ab) = a3794f8bf99e603ea8b0c9849475450c22c78b9e SHA1 (patch-ac) = 309224a4b0bc7a20a1748708785ee7df1d10ad42 SHA1 (patch-ad) = 5ecbaeff574a696d5c4106dc2ec419cdceb25d16 +SHA1 (patch-ae) = 4e1e3b89ee359a84a32197099d272e13f8cba38b diff --git a/www/php4-apc/patches/patch-ae b/www/php4-apc/patches/patch-ae new file mode 100644 index 00000000000..10be2cee6a2 --- /dev/null +++ b/www/php4-apc/patches/patch-ae @@ -0,0 +1,24 @@ +$NetBSD: patch-ae,v 1.1 2001/12/31 23:54:49 jlam Exp $ + +--- php_apc.c.orig Mon Aug 20 14:34:04 2001 ++++ php_apc.c +@@ -61,6 +61,7 @@ + + /* module entry */ + zend_module_entry apc_module_entry = { ++ STANDARD_MODULE_HEADER, + "APC", + apc_functions, + PHP_MINIT(apc), +@@ -68,9 +69,8 @@ + PHP_RINIT(apc), + PHP_RSHUTDOWN(apc), + PHP_MINFO(apc), +- NULL, +- NULL, +- STANDARD_MODULE_PROPERTIES_EX ++ NO_VERSION_YET, ++ STANDARD_MODULE_PROPERTIES + }; + + zend_apc_globals apc_globals; |