summaryrefslogtreecommitdiff
path: root/www/php4-apc/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-12-31 23:54:49 +0000
committerjlam <jlam@pkgsrc.org>2001-12-31 23:54:49 +0000
commitf9eccf24852043057e252d94e92faceea0843d9b (patch)
tree42121b967aed2aca05b55acd89edf710a5180199 /www/php4-apc/patches
parent3b2ee66b8afde2082614c64f15135b34009f81ab (diff)
downloadpkgsrc-f9eccf24852043057e252d94e92faceea0843d9b.tar.gz
Adapt to the new Zend API from php-4.1.0.
Diffstat (limited to 'www/php4-apc/patches')
-rw-r--r--www/php4-apc/patches/patch-ae24
1 files changed, 24 insertions, 0 deletions
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;