diff options
Diffstat (limited to 'www/pecl-yaf')
-rw-r--r-- | www/pecl-yaf/Makefile | 2 | ||||
-rw-r--r-- | www/pecl-yaf/distinfo | 6 | ||||
-rw-r--r-- | www/pecl-yaf/files/patch-php84 | 46 |
3 files changed, 4 insertions, 50 deletions
diff --git a/www/pecl-yaf/Makefile b/www/pecl-yaf/Makefile index 79d1feb3f156..9daef4e1d9da 100644 --- a/www/pecl-yaf/Makefile +++ b/www/pecl-yaf/Makefile @@ -1,5 +1,5 @@ PORTNAME= yaf -PORTVERSION= 3.3.6 +PORTVERSION= 3.3.7 CATEGORIES= www MAINTAINER= sunpoet@freeBSD.org diff --git a/www/pecl-yaf/distinfo b/www/pecl-yaf/distinfo index 515a9d06c86b..e8a7bc64cafa 100644 --- a/www/pecl-yaf/distinfo +++ b/www/pecl-yaf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720022756 -SHA256 (PECL/yaf-3.3.6.tgz) = 7056dba64f4a6346402cdcfa228aacfbbc67487b9afa05e689d778300cc8a738 -SIZE (PECL/yaf-3.3.6.tgz) = 134030 +TIMESTAMP = 1755062476 +SHA256 (PECL/yaf-3.3.7.tgz) = 7fcea41c7b4254e6db71132a2591b5ce4c88d4af70231b0ffb560fdd22b43e95 +SIZE (PECL/yaf-3.3.7.tgz) = 134483 diff --git a/www/pecl-yaf/files/patch-php84 b/www/pecl-yaf/files/patch-php84 deleted file mode 100644 index 424a5fdd2554..000000000000 --- a/www/pecl-yaf/files/patch-php84 +++ /dev/null @@ -1,46 +0,0 @@ -Obtained from: https://github.com/laruence/yaf/commit/b1d252c944a8d70f0dc28415b3d67a7b3bbbf7ce - ---- routes/yaf_route_regex.c.orig 2024-06-25 03:13:57 UTC -+++ routes/yaf_route_regex.c -@@ -204,11 +204,18 @@ static int yaf_route_regex_match(yaf_route_regex_objec - #if PHP_VERSION_ID < 70400 - php_pcre_match_impl(pce_regexp, (char*)uri, len, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); --#else -+#elif PHP_VERSION_ID < 80400 - { - zend_string *tmp = zend_string_init(uri, len, 0); - php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); -+ zend_string_release(tmp); -+ } -+#else -+ { -+ zend_string *tmp = zend_string_init(uri, len, 0); -+ php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, -+ 0/* global */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); - zend_string_release(tmp); - } - #endif ---- routes/yaf_route_rewrite.c.orig 2024-06-25 03:13:57 UTC -+++ routes/yaf_route_rewrite.c -@@ -209,11 +209,18 @@ static int yaf_route_rewrite_match(yaf_route_rewrite_o - #if PHP_VERSION_ID < 70400 - php_pcre_match_impl(pce_regexp, (char*)uri, len, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); --#else -+#elif PHP_VERSION_ID <80400 - { - zend_string *tmp = zend_string_init(uri, len, 0); - php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); -+ zend_string_release(tmp); -+ } -+#else -+ { -+ zend_string *tmp = zend_string_init(uri, len, 0); -+ php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, -+ 0/* global */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); - zend_string_release(tmp); - } - #endif |