Adapt to the new Zend API from php-4.1.0.

This commit is contained in:
jlam 2001-12-31 23:54:49 +00:00
parent 3b2ee66b8a
commit f9eccf2485
3 changed files with 28 additions and 3 deletions

View file

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

View file

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

View file

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