Update to 1.0.4 release.
PR: ports/105287 Submitted by: Alexander Zhuravlev <zaa@zaa.pp.ru>
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= fileinfo
|
||||
PORTVERSION= 1.0.3
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.0.4
|
||||
CATEGORIES= sysutils pear
|
||||
MASTER_SITES= http://pecl.php.net/get/
|
||||
PKGNAMEPREFIX= pecl-
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
MD5 (PECL/Fileinfo-1.0.3.tgz) = 799930038f76af23e391eef45789c607
|
||||
SHA256 (PECL/Fileinfo-1.0.3.tgz) = 560dc4f40f33ef929c3be558c9550f88e22a673fa6467499b6e77ee6cc52315e
|
||||
SIZE (PECL/Fileinfo-1.0.3.tgz) = 5727
|
||||
MD5 (PECL/Fileinfo-1.0.4.tgz) = 2854e749db157365c769cb9496f5586f
|
||||
SHA256 (PECL/Fileinfo-1.0.4.tgz) = df35ee00fce6483c58b2f37dbded33831ba84fdae92829dbe03f7331bec0aa3f
|
||||
SIZE (PECL/Fileinfo-1.0.4.tgz) = 5835
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- config.m4.orig Thu Jun 8 15:20:41 2006
|
||||
+++ config.m4 Thu Jun 8 15:52:29 2006
|
||||
@@ -47,7 +47,7 @@
|
||||
-L$FILEINFO_DIR/lib
|
||||
])
|
||||
|
||||
- MAGIC_MIME_LOCATIONS="/usr/local/share/file/magic /usr/share/file/magic /usr/share/misc/file/magic /etc/magic /usr/share/misc"
|
||||
+ MAGIC_MIME_LOCATIONS="/usr/local/share/file/magic /usr/share/misc/magic"
|
||||
for i in $MAGIC_MIME_LOCATIONS; do
|
||||
if test -f $i; then
|
||||
PHP_DEFAULT_MAGIC_FILE=$i
|
||||
@@ -1,24 +0,0 @@
|
||||
--- fileinfo.c.orig 2005/12/20 19:17:00
|
||||
+++ fileinfo.c 2006/10/10 09:52:06
|
||||
@@ -121,10 +121,17 @@
|
||||
/* {{{ finfo_class_functions
|
||||
*/
|
||||
function_entry finfo_class_functions[] = {
|
||||
- ZEND_ME_MAPPING(finfo, finfo_open, NULL)
|
||||
- ZEND_ME_MAPPING(set_flags, finfo_set_flags,NULL)
|
||||
- ZEND_ME_MAPPING(file, finfo_file, NULL)
|
||||
- ZEND_ME_MAPPING(buffer, finfo_buffer, NULL)
|
||||
+#if PHP_VERSION_ID >= 50200
|
||||
+ ZEND_ME_MAPPING(finfo, finfo_open, NULL, ZEND_ACC_PUBLIC)
|
||||
+ ZEND_ME_MAPPING(set_flags, finfo_set_flags,NULL, ZEND_ACC_PUBLIC)
|
||||
+ ZEND_ME_MAPPING(file, finfo_file, NULL, ZEND_ACC_PUBLIC)
|
||||
+ ZEND_ME_MAPPING(buffer, finfo_buffer, NULL, ZEND_ACC_PUBLIC)
|
||||
+#else
|
||||
+ ZEND_ME_MAPPING(finfo, finfo_open, NULL)
|
||||
+ ZEND_ME_MAPPING(set_flags, finfo_set_flags,NULL)
|
||||
+ ZEND_ME_MAPPING(file, finfo_file, NULL)
|
||||
+ ZEND_ME_MAPPING(buffer, finfo_buffer, NULL)
|
||||
+#endif
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
/* }}} */
|
||||
Reference in New Issue
Block a user