1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to 1.0.3 release and fix default magic file detection.

PR:		ports/97734
Submitted by:	Alexander Zhuravlev <zaa@zaa.pp.ru>
This commit is contained in:
Alex Dupre 2006-06-08 13:54:16 +00:00
parent eef0f07274
commit cad5b0f814
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164828
4 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= fileinfo
PORTVERSION= 1.0.2
PORTVERSION= 1.0.3
CATEGORIES= sysutils pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-

View File

@ -1,3 +1,3 @@
MD5 (PECL/Fileinfo-1.0.2.tgz) = dd6c247f7003e0763fab92ef1018fb46
SHA256 (PECL/Fileinfo-1.0.2.tgz) = 219f06631a97688229bbfd37bbaa19b9c55c7f3dd80998c99631b8b3768613df
SIZE (PECL/Fileinfo-1.0.2.tgz) = 5741
MD5 (PECL/Fileinfo-1.0.3.tgz) = 799930038f76af23e391eef45789c607
SHA256 (PECL/Fileinfo-1.0.3.tgz) = 560dc4f40f33ef929c3be558c9550f88e22a673fa6467499b6e77ee6cc52315e
SIZE (PECL/Fileinfo-1.0.3.tgz) = 5727

View File

@ -0,0 +1,11 @@
--- 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

View File

@ -1,11 +0,0 @@
--- 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;