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

Signed-off-by: Lothar Serra Mari <mail@serra.me>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Lothar Serra Mari
2025-12-20 11:41:48 -05:00
committed by Michael Orlitzky
parent a9c0994976
commit 48de5a59b1
3 changed files with 2 additions and 27 deletions
+1 -1
View File
@@ -1 +1 @@
DIST yaml-2.2.3.tgz 41276 BLAKE2B f3233b63bbaffa0d6fff70092d46e6b38557b78b3a1dcee498745b9253b828c6d68b09bee17a598fd1006701a795c0ace0c61755d1cd8e8a4305092ba8bec6a6 SHA512 99d63d430dd2fa9767ecb3f70599d2ebd4c53b27770df72c00c4723816de422c581cea05e96c3cba5aaecbdc57cc482fad0f1fa300bdcf887daa7c2c034e6f4b
DIST yaml-2.3.0.tgz 41819 BLAKE2B bf386029bed199546cc6557da303b7659245f9d9bb6574c4897da0928b4a26efd8cca539f56cefeb9926afb07fc2db3e11487f9023ae061901efa04eafef4489 SHA512 d1dca645bbf3bcf92e5725c1a4d680aa00a97f1560099daefb20f619058b99d587ec9c7234c72d929141db1a53877c9e17e4afcb123c5d7c1be2199559651b38
@@ -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 <remi@remirepo.net>
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
@@ -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" )