aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-yaml/10-detect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/php7-yaml/10-detect.patch')
-rwxr-xr-xcommunity/php7-yaml/10-detect.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/php7-yaml/10-detect.patch b/community/php7-yaml/10-detect.patch
new file mode 100755
index 0000000000..ee0f01746e
--- /dev/null
+++ b/community/php7-yaml/10-detect.patch
@@ -0,0 +1,11 @@
+--- a/detect.c 2017-07-29 17:56:18.000000000 -0400
++++ b/detect.c 2017-10-30 21:15:09.000000000 -0400
+@@ -568,7 +568,7 @@ finish:
+ break;
+
+ default:
+- *dval = atof(buf);
++ *dval = zend_strtod(buf, (const char **) NULL);
+ break;
+ }
+ }