diff options
author | ale <ale@FreeBSD.org> | 2006-06-08 21:54:16 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-06-08 21:54:16 +0800 |
commit | c060d743b6d6c3bd24efbe53b76899068ad55e1f (patch) | |
tree | 3ae0f3db64de19289795c2689c3ba6a037a3a1a5 | |
parent | 13ce03c5904a8e0b07ae46de7ed341cee9751733 (diff) | |
download | freebsd-ports-gnome-c060d743b6d6c3bd24efbe53b76899068ad55e1f.tar.gz freebsd-ports-gnome-c060d743b6d6c3bd24efbe53b76899068ad55e1f.tar.zst freebsd-ports-gnome-c060d743b6d6c3bd24efbe53b76899068ad55e1f.zip |
Update to 1.0.3 release and fix default magic file detection.
PR: ports/97734
Submitted by: Alexander Zhuravlev <zaa@zaa.pp.ru>
-rw-r--r-- | sysutils/pecl-fileinfo/Makefile | 2 | ||||
-rw-r--r-- | sysutils/pecl-fileinfo/distinfo | 6 | ||||
-rw-r--r-- | sysutils/pecl-fileinfo/files/patch-config.m4 | 11 | ||||
-rw-r--r-- | sysutils/pecl-fileinfo/files/patch-fileinfo.c | 11 |
4 files changed, 15 insertions, 15 deletions
diff --git a/sysutils/pecl-fileinfo/Makefile b/sysutils/pecl-fileinfo/Makefile index 1b66fbba1074..bff8e8ec0d1b 100644 --- a/sysutils/pecl-fileinfo/Makefile +++ b/sysutils/pecl-fileinfo/Makefile @@ -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- diff --git a/sysutils/pecl-fileinfo/distinfo b/sysutils/pecl-fileinfo/distinfo index 46d63c10295c..c90ee469f523 100644 --- a/sysutils/pecl-fileinfo/distinfo +++ b/sysutils/pecl-fileinfo/distinfo @@ -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 diff --git a/sysutils/pecl-fileinfo/files/patch-config.m4 b/sysutils/pecl-fileinfo/files/patch-config.m4 new file mode 100644 index 000000000000..84c1c0a87a87 --- /dev/null +++ b/sysutils/pecl-fileinfo/files/patch-config.m4 @@ -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 diff --git a/sysutils/pecl-fileinfo/files/patch-fileinfo.c b/sysutils/pecl-fileinfo/files/patch-fileinfo.c deleted file mode 100644 index c520498bbc4f..000000000000 --- a/sysutils/pecl-fileinfo/files/patch-fileinfo.c +++ /dev/null @@ -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; |