[PATCH] Fileinfo-1.0.2 build issues

From: Date: Tue, 06 Dec 2005 12:04:17 +0000
Subject: [PATCH] Fileinfo-1.0.2 build issues
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3320@lists.php.net to get a copy of this message
PECL Announce wrote:
The new PECL package Fileinfo-1.0.2 (stable) has been released at http://pecl.php.net/. Release notes ------------- 1) Allow build against 5.1 and 5.0 versions of PHP
the latest changes in fileinfo.c (1.13) introduces another problem, it relies on ZEND_EXTENSION_API_NO, which is not defined in my enviroment. By including zend_extensions.h fileinfo-1.0.2 builds fine now:
--- fileinfo.c  6 Dec 2005 00:27:01 -0000       1.13
+++ fileinfo.c 6 Dec 2005 11:21:46 -0000 @@ -22,6 +22,7 @@ #include "config.h" #endif #include "php.h" +#include "zend_extensions.h" #include <magic.h> /* I also opened a bug report: http://pecl.php.net/bugs/bug.php?id=6168 I think http://pecl.php.net/bugs/bug.php?id=6079 and http://pecl.php.net/bugs/bug.php?id=6122 can be closed, with version 1.12 of fileinfo.c this issue was solved (for me). Best regards Andreas

« previous php.pecl.dev (#3320) next »