Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2024 16:18:23 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6068934ca28a - main - www/pecl-yaf: Update to 3.3.6
Message-ID:  <202407061618.466GINYA044837@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6068934ca28adffaea2a04a553294ac2b21923f9

commit 6068934ca28adffaea2a04a553294ac2b21923f9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:02:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:02:55 +0000

    www/pecl-yaf: Update to 3.3.6
    
    Changes:        https://pecl.php.net/package-changelog.php?package=yaf
---
 www/pecl-yaf/Makefile          |  3 +-
 www/pecl-yaf/distinfo          |  6 ++--
 www/pecl-yaf/files/patch-php82 | 64 ------------------------------------------
 3 files changed, 4 insertions(+), 69 deletions(-)

diff --git a/www/pecl-yaf/Makefile b/www/pecl-yaf/Makefile
index c75029c2da2a..79d1feb3f156 100644
--- a/www/pecl-yaf/Makefile
+++ b/www/pecl-yaf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	yaf
-PORTVERSION=	3.3.5
-PORTREVISION=	1
+PORTVERSION=	3.3.6
 CATEGORIES=	www
 
 MAINTAINER=	sunpoet@freeBSD.org
diff --git a/www/pecl-yaf/distinfo b/www/pecl-yaf/distinfo
index d8b46e9c2145..515a9d06c86b 100644
--- a/www/pecl-yaf/distinfo
+++ b/www/pecl-yaf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653151072
-SHA256 (PECL/yaf-3.3.5.tgz) = cbbe7f2abbd2bb93074c6749c40fe4b660846361c0d9e258eee2b4005f8ac620
-SIZE (PECL/yaf-3.3.5.tgz) = 133872
+TIMESTAMP = 1720022756
+SHA256 (PECL/yaf-3.3.6.tgz) = 7056dba64f4a6346402cdcfa228aacfbbc67487b9afa05e689d778300cc8a738
+SIZE (PECL/yaf-3.3.6.tgz) = 134030
diff --git a/www/pecl-yaf/files/patch-php82 b/www/pecl-yaf/files/patch-php82
deleted file mode 100644
index aa8f63eaa43e..000000000000
--- a/www/pecl-yaf/files/patch-php82
+++ /dev/null
@@ -1,64 +0,0 @@
-Obtained from:	https://github.com/laruence/yaf/pull/579
-
---- requests/yaf_request_simple.c.orig	2022-05-20 02:26:39 UTC
-+++ requests/yaf_request_simple.c
-@@ -140,6 +140,9 @@ YAF_STARTUP_FUNCTION(request_simple){
- 	zend_class_entry ce;
- 	YAF_INIT_CLASS_ENTRY(ce, "Yaf_Request_Simple", "Yaf\\Request\\Simple", yaf_request_simple_methods);
- 	yaf_request_simple_ce = zend_register_internal_class_ex(&ce, yaf_request_ce);
-+#if PHP_VERSION_ID >= 80200
-+	yaf_request_simple_ce->ce_flags |= ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES;
-+#endif
- 
- 	return SUCCESS;
- }
---- tests/031.phpt.orig	2022-05-20 02:26:39 UTC
-+++ tests/031.phpt
-@@ -36,7 +36,7 @@ Array
- )
- array (
-   '_default' => 
--  Yaf_Route_Map::__set_state(array(
-+  %saf_Route_Map::__set_state(array(
-      'ctl_prefer:protected' => true,
-      'delimiter:protected' => '##',
-   )),
---- tests/issue231.phpt.orig	2022-05-20 02:26:40 UTC
-+++ tests/issue231.phpt
-@@ -34,7 +34,7 @@ Yaf_Request_Http Object
-         )
- 
- )
--Yaf_Request_Http::__set_state(array(
-+%saf_Request_Http::__set_state(array(
-    'method' => 'POST',
-    'module' => NULL,
-    'controller' => NULL,
---- views/yaf_view_simple.c.orig	2022-05-20 02:26:39 UTC
-+++ views/yaf_view_simple.c
-@@ -388,8 +388,10 @@ static int yaf_view_simple_eval(yaf_view_t *view, zend
- 		ZVAL_STR(&phtml, strpprintf(0, "?>%s", ZSTR_VAL(tpl)));
- #if PHP_VERSION_ID < 80000
- 		op_array = zend_compile_string(&phtml, eval_desc);
--#else
-+#elif PHP_VERSION_ID < 80200
-         op_array = zend_compile_string(Z_STR(phtml), eval_desc);
-+#else
-+	op_array = zend_compile_string(Z_STR(phtml), eval_desc, ZEND_COMPILE_POSITION_AFTER_OPEN_TAG);
- #endif
- 		zval_dtor(&phtml);
- 		efree(eval_desc);
---- yaf_application.c.orig	2022-05-20 02:26:40 UTC
-+++ yaf_application.c
-@@ -1053,8 +1053,10 @@ YAF_STARTUP_FUNCTION(application) {
- 	yaf_application_ce->ce_flags |= ZEND_ACC_FINAL;
- 	yaf_application_ce->serialize = zend_class_serialize_deny;
- 	yaf_application_ce->unserialize = zend_class_unserialize_deny;
--#else
-+#elif PHP_VERSION_ID < 80200
- 	yaf_application_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NOT_SERIALIZABLE;
-+#else
-+	yaf_application_ce->ce_flags |= ZEND_ACC_FINAL | ZEND_ACC_NOT_SERIALIZABLE | ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES;
- #endif
- 
- 	memcpy(&yaf_application_obj_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407061618.466GINYA044837>