<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/060c1231ecaa6a2e410675258af21249fa891c1c">https://github.com/macports/macports-ports/commit/060c1231ecaa6a2e410675258af21249fa891c1c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 060c1231eca php-yaf: Update to 3.3.6
</span>060c1231eca is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 060c1231ecaa6a2e410675258af21249fa891c1c
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Thu Jun 27 00:07:35 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> php-yaf: Update to 3.3.6
</span>---
php/php-yaf/Portfile | 17 +++---------
php/php-yaf/files/php82.patch | 64 -------------------------------------------
php/php-yaf/files/php83.patch | 16 -----------
3 files changed, 4 insertions(+), 93 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-yaf/Portfile b/php/php-yaf/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0209a55374c..5f6d9c37dc0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-yaf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-yaf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,20 +12,11 @@ php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
</span> php.pecl yes
if {[vercmp ${php.branch} >= 7.0]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.3.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.3.6
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 46eeee612279e1ec8be78220d59d7ad0a8d30f30 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 cbbe7f2abbd2bb93074c6749c40fe4b660846361c0d9e258eee2b4005f8ac620 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 133872
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[vercmp ${php.branch} >= 8.2]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- php82.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[vercmp ${php.branch} >= 8.3]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- php83.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 d6093d76626947f578cb02a03e2b6075925735f4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7056dba64f4a6346402cdcfa228aacfbbc67487b9afa05e689d778300cc8a738 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 134030
</span> } else {
version 2.3.5
revision 0
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-yaf/files/php82.patch b/php/php-yaf/files/php82.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 65a4313e90f..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-yaf/files/php82.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,64 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix PHP 8.2 compatibility
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/laruence/yaf/pull/579/commits/e1557c8f219651550633567054af9c3298524c7e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- requests/yaf_request_simple.c.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ requests/yaf_request_simple.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -140,6 +140,9 @@ YAF_STARTUP_FUNCTION(request_simple){
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zend_class_entry ce;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- YAF_INIT_CLASS_ENTRY(ce, "Yaf_Request_Simple", "Yaf\\Request\\Simple", yaf_request_simple_methods);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yaf_request_simple_ce = zend_register_internal_class_ex(&ce, yaf_request_ce);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if PHP_VERSION_ID >= 80200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ yaf_request_simple_ce->ce_flags |= ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return SUCCESS;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- tests/031.phpt.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ tests/031.phpt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -36,7 +36,7 @@ Array
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- array (
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- '_default' =>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- Yaf_Route_Map::__set_state(array(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ %saf_Route_Map::__set_state(array(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'ctl_prefer:protected' => true,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'delimiter:protected' => '##',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- tests/issue231.phpt.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ tests/issue231.phpt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -34,7 +34,7 @@ Yaf_Request_Http Object
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--Yaf_Request_Http::__set_state(array(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+%saf_Request_Http::__set_state(array(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'method' => 'POST',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'module' => NULL,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'controller' => NULL,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- views/yaf_view_simple.c.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ views/yaf_view_simple.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -388,8 +388,10 @@ static int yaf_view_simple_eval(yaf_view_t *view, zend_string *tpl, zval * vars,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ZVAL_STR(&phtml, strpprintf(0, "?>%s", ZSTR_VAL(tpl)));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #if PHP_VERSION_ID < 80000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- op_array = zend_compile_string(&phtml, eval_desc);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#elif PHP_VERSION_ID < 80200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- op_array = zend_compile_string(Z_STR(phtml), eval_desc);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ op_array = zend_compile_string(Z_STR(phtml), eval_desc, ZEND_COMPILE_POSITION_AFTER_OPEN_TAG);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zval_dtor(&phtml);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- efree(eval_desc);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- yaf_application.c.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ yaf_application.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1053,8 +1053,10 @@ YAF_STARTUP_FUNCTION(application) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yaf_application_ce->ce_flags |= ZEND_ACC_FINAL;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yaf_application_ce->serialize = zend_class_serialize_deny;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yaf_application_ce->unserialize = zend_class_unserialize_deny;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#elif PHP_VERSION_ID < 80200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yaf_application_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NOT_SERIALIZABLE;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ yaf_application_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NOT_SERIALIZABLE | ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- memcpy(&yaf_application_obj_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-yaf/files/php83.patch b/php/php-yaf/files/php83.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index fff1fd8ca38..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-yaf/files/php83.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,16 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix PHP 8.3 compatibility
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/laruence/yaf/pull/579/commits/866f31e4916214dcafacbf2bb5035b6c046095aa
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- php_yaf.h.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ php_yaf.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -260,6 +260,11 @@ static zend_always_inline uint32_t yaf_compose_2_pathes(char *buf, zend_string *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* removed in 8.3 */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifndef ZEND_HOT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define ZEND_HOT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * Local variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * tab-width: 4
</span></pre><pre style='margin:0'>
</pre>