diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2018-10-21 00:49:16 +0300 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-10-21 00:56:02 +0300 |
commit | d9d6b91560b5a712408b7ed325e65fdb9c35be2a (patch) | |
tree | 5fb0fe07caf015e9c953ee658d4f857068a69574 /community/php7-pecl-yaml/10-detect.patch | |
parent | 9f6448c10b8fcbd292acccb45130909e38e829e6 (diff) | |
download | aports-d9d6b91560b5a712408b7ed325e65fdb9c35be2a.tar.bz2 aports-d9d6b91560b5a712408b7ed325e65fdb9c35be2a.tar.xz |
community/php7-pecl-yaml: renamed from php7-yaml, modernize
Diffstat (limited to 'community/php7-pecl-yaml/10-detect.patch')
-rwxr-xr-x | community/php7-pecl-yaml/10-detect.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/php7-pecl-yaml/10-detect.patch b/community/php7-pecl-yaml/10-detect.patch new file mode 100755 index 0000000000..ee0f01746e --- /dev/null +++ b/community/php7-pecl-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; + } + } |