diff options
author | Brian Evans <grknight@gentoo.org> | 2018-04-26 20:48:05 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-04-26 22:21:38 -0400 |
commit | 86446552c92ba69dbad23b24a1254cf2fb7666f6 (patch) | |
tree | 9de407a0fc16df7948efe8d54f441e9497b24422 /dev-lang/php/files | |
parent | app-editors/elvis: Fix xorg-proto dependency (diff) | |
download | gentoo-86446552c92ba69dbad23b24a1254cf2fb7666f6.tar.gz gentoo-86446552c92ba69dbad23b24a1254cf2fb7666f6.tar.bz2 gentoo-86446552c92ba69dbad23b24a1254cf2fb7666f6.zip |
dev-lang/php: Version bump for 5.6.36
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-lang/php/files')
-rw-r--r-- | dev-lang/php/files/5.6-mbstring-oniguruma-6.8.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/php/files/5.6-mbstring-oniguruma-6.8.patch b/dev-lang/php/files/5.6-mbstring-oniguruma-6.8.patch new file mode 100644 index 000000000000..642b261950fb --- /dev/null +++ b/dev-lang/php/files/5.6-mbstring-oniguruma-6.8.patch @@ -0,0 +1,12 @@ +diff -aurN a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c +--- a/ext/mbstring/php_mbregex.c 2018-03-28 17:28:58.000000000 -0400 ++++ b/ext/mbstring/php_mbregex.c 2018-04-04 12:53:23.268296387 -0400 +@@ -454,7 +454,7 @@ + OnigUChar err_str[ONIG_MAX_ERROR_MESSAGE_LEN]; + + found = zend_hash_find(&MBREX(ht_rc), (char *)pattern, patlen+1, (void **) &rc); +- if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax) { ++ if (found == FAILURE || onig_get_options(*rc) != options || onig_get_encoding(*rc) != enc || onig_get_syntax(*rc) != syntax) { + if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, enc, syntax, &err_info)) != ONIG_NORMAL) { + onig_error_code_to_str(err_str, err_code, &err_info); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "mbregex compile err: %s", err_str); |