commit:     48de5a59b1ff4de8864e39db8a214925dcce20fb
Author:     Lothar Serra Mari <mail <AT> serra <DOT> me>
AuthorDate: Sat Nov 29 09:39:36 2025 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 16:41:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48de5a59

dev-php/pecl-yaml: add 2.3.0, drop 2.2.3-r1

Signed-off-by: Lothar Serra Mari <mail <AT> serra.me>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-php/pecl-yaml/Manifest                         |  2 +-
 ...yaml-2.2.3-c99-incompatible-pointer-types.patch | 24 ----------------------
 ...yaml-2.2.3-r1.ebuild => pecl-yaml-2.3.0.ebuild} |  3 +--
 3 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest
index 93b6ee0eec2f..77b232c641ff 100644
--- a/dev-php/pecl-yaml/Manifest
+++ b/dev-php/pecl-yaml/Manifest
@@ -1 +1 @@
-DIST yaml-2.2.3.tgz 41276 BLAKE2B 
f3233b63bbaffa0d6fff70092d46e6b38557b78b3a1dcee498745b9253b828c6d68b09bee17a598fd1006701a795c0ace0c61755d1cd8e8a4305092ba8bec6a6
 SHA512 
99d63d430dd2fa9767ecb3f70599d2ebd4c53b27770df72c00c4723816de422c581cea05e96c3cba5aaecbdc57cc482fad0f1fa300bdcf887daa7c2c034e6f4b
+DIST yaml-2.3.0.tgz 41819 BLAKE2B 
bf386029bed199546cc6557da303b7659245f9d9bb6574c4897da0928b4a26efd8cca539f56cefeb9926afb07fc2db3e11487f9023ae061901efa04eafef4489
 SHA512 
d1dca645bbf3bcf92e5725c1a4d680aa00a97f1560099daefb20f619058b99d587ec9c7234c72d929141db1a53877c9e17e4afcb123c5d7c1be2199559651b38

diff --git 
a/dev-php/pecl-yaml/files/pecl-yaml-2.2.3-c99-incompatible-pointer-types.patch 
b/dev-php/pecl-yaml/files/pecl-yaml-2.2.3-c99-incompatible-pointer-types.patch
deleted file mode 100644
index f0f7421a7632..000000000000
--- 
a/dev-php/pecl-yaml/files/pecl-yaml-2.2.3-c99-incompatible-pointer-types.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-bug https://bugs.gentoo.org/922688
-upstream commit: 
https://github.com/php/pecl-file_formats-yaml/commit/e7bffc01c496ef36ce672c612984b13a27426788
-From e7bffc01c496ef36ce672c612984b13a27426788 Mon Sep 17 00:00:00 2001
-From: Remi Collet <[email protected]>
-Date: Mon, 6 Mar 2023 09:29:07 +0100
-Subject: [PATCH] Fix [-Wincompatible-pointer-types] warning
-
----
- parse.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/parse.c b/parse.c
-index e63f3d8..17f70ba 100644
---- a/parse.c
-+++ b/parse.c
-@@ -531,7 +531,7 @@ void handle_sequence (parser_state_t *state, zval *retval) 
{
-               /* apply callbacks to the collected node */
-               if (Y_FILTER_FAILURE == apply_filter(
-                               retval, src_event, state->callbacks)) {
--                      zval_ptr_dtor(&retval);
-+                      zval_ptr_dtor(retval);
-                       ZVAL_UNDEF(retval);
-                       goto done;
-                       //TODO Sean-Der

diff --git a/dev-php/pecl-yaml/pecl-yaml-2.2.3-r1.ebuild 
b/dev-php/pecl-yaml/pecl-yaml-2.3.0.ebuild
similarity index 80%
rename from dev-php/pecl-yaml/pecl-yaml-2.2.3-r1.ebuild
rename to dev-php/pecl-yaml/pecl-yaml-2.3.0.ebuild
index 4071bdaed202..bcef53fe274e 100644
--- a/dev-php/pecl-yaml/pecl-yaml-2.2.3-r1.ebuild
+++ b/dev-php/pecl-yaml/pecl-yaml-2.3.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PHP_EXT_NAME="yaml"
 PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
-USE_PHP="php8-2 php8-3"
+USE_PHP="php8-2 php8-3 php8-4 php8-5"
 
 inherit php-ext-pecl-r3
 
@@ -18,4 +18,3 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 
 DEPEND="dev-libs/libyaml"
 RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}/${P}-c99-incompatible-pointer-types.patch" )

Reply via email to