diff options
author | ale <ale@FreeBSD.org> | 2005-12-17 16:02:56 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-12-17 16:02:56 +0800 |
commit | 67b8f69f415a48f21fd9cd93d0d49ed4173b8c55 (patch) | |
tree | a11a875192c72c0f65689bc8e10cf89af6b51e59 /sysutils/pecl-fileinfo | |
parent | 4aa7399a9d24b0478c8a9f571bc1a97d40d79e68 (diff) | |
download | freebsd-ports-gnome-67b8f69f415a48f21fd9cd93d0d49ed4173b8c55.tar.gz freebsd-ports-gnome-67b8f69f415a48f21fd9cd93d0d49ed4173b8c55.tar.zst freebsd-ports-gnome-67b8f69f415a48f21fd9cd93d0d49ed4173b8c55.zip |
Fix build with PHP 5.1.
PR: ports/90506
Submitted by: Nick Muerdter <spam@nickm.org>
Diffstat (limited to 'sysutils/pecl-fileinfo')
-rw-r--r-- | sysutils/pecl-fileinfo/files/patch-fileinfo.c | 11 |
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; |