aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pecl-fileinfo/files/patch-fileinfo.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/pecl-fileinfo/files/patch-fileinfo.c b/sysutils/pecl-fileinfo/files/patch-fileinfo.c
new file mode 100644
index 000000000000..c520498bbc4f
--- /dev/null
+++ b/sysutils/pecl-fileinfo/files/patch-fileinfo.c
@@ -0,0 +1,11 @@
+--- fileinfo.c.orig Sat Dec 17 09:00:17 2005
++++ fileinfo.c Sat Dec 17 09:00:39 2005
+@@ -103,7 +103,7 @@
+ intern = ecalloc(1, sizeof(struct finfo_object));
+ intern->zo.ce = class_type;
+ intern->zo.properties = NULL;
+-#if ZEND_EXTENSION_API_NO > 220050000
++#if ZEND_MODULE_API_NO >= 20050922
+ intern->zo.guards = NULL;
+ #else
+ intern->zo.in_get = 0;