aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-yaml/10-detect.patch
diff options
context:
space:
mode:
authorRenoir Boulanger <hello@renoirboulanger.com>2017-05-17 23:09:18 -0400
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-11-02 07:07:05 +0000
commit864c2dac33f76cabef97b729df074ef5a3098df8 (patch)
tree906007b884d45076b7cc3a1ab9bb4dcf4313cd70 /testing/php7-yaml/10-detect.patch
parentcd5d63fbee44e42de4d4799efb217f663b0a2cda (diff)
downloadaports-864c2dac33f76cabef97b729df074ef5a3098df8.tar.bz2
aports-864c2dac33f76cabef97b729df074ef5a3098df8.tar.xz
testing/php7-yaml: new aport
YAML PECL package, version 2.0.2 (stable), released 2017-07-29 https://pecl.php.net/package/yaml YAML-1.1 parser and emitter as a PHP PECL Extension
Diffstat (limited to 'testing/php7-yaml/10-detect.patch')
-rwxr-xr-xtesting/php7-yaml/10-detect.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/php7-yaml/10-detect.patch b/testing/php7-yaml/10-detect.patch
new file mode 100755
index 0000000000..ee0f01746e
--- /dev/null
+++ b/testing/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;
+ }
+ }