com php-src: updated libmagic.patch: ext/fileinfo/libmagic.patch
| From: | Anatol Belski | Date: | Sun, 04 May 2014 19:34:17 +0000 |
| Subject: | com php-src: updated libmagic.patch: ext/fileinfo/libmagic.patch | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77234@lists.php.net to get a copy of this message | ||
Commit: 06ae920165bcedfa2f229ca1da82e51aa1b44e2f
Author: Anatol Belski <ab@php.net> Sun, 4 May 2014 21:34:17 +0200
Parents: 031cafd4e2670992f5e45d281ab3a5eb666748c5
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=06ae920165bcedfa2f229ca1da82e51aa1b44e2f
Log:
updated libmagic.patch
Changed paths:
M ext/fileinfo/libmagic.patch
Diff:
diff --git a/ext/fileinfo/libmagic.patch b/ext/fileinfo/libmagic.patch
index fa708b6..662537b 100644
--- a/ext/fileinfo/libmagic.patch
+++ b/ext/fileinfo/libmagic..patch
@@ -3286,4 +3286,16 @@ diff -u libmagic.orig/softmagic.c libmagic/softmagic.c
break;
}
case FILE_INDIRECT:
+diff -u libmagic.orig/strcasestr.c libmagic/strcasestr.c
+--- libmagic.orig/strcasestr.c Thu Dec 5 17:57:50 2013
++++ libmagic/strcasestr.c Sun May 4 21:29:20 2014
+@@ -37,6 +37,8 @@
+ __RCSID("$NetBSD: strncasecmp.c,v 1.2 2007/06/04 18:19:27 christos Exp $");
+ #endif /* LIBC_SCCS and not lint */
+
++#include "php_stdint.h"
++
+ #include <assert.h>
+ #include <ctype.h>
+ #include <string.h>