summaryrefslogtreecommitdiff
path: root/dev-php/pecl-yaml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-09 00:01:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-09 00:01:03 +0100
commita0ce545d52f231499bf9f3644493113d8af58ec9 (patch)
tree4d67c09eed0c2ae28d1317f72d7f7b08b4f6aeea /dev-php/pecl-yaml
parent5181ced3f3566a9610b85922b083c8f84f20d78f (diff)
gentoo auto-resync : 09:05:2024 - 00:01:03
Diffstat (limited to 'dev-php/pecl-yaml')
-rw-r--r--dev-php/pecl-yaml/Manifest3
-rw-r--r--dev-php/pecl-yaml/files/pecl-yaml-2.2.3-c99-incompatible-pointer-types.patch24
-rw-r--r--dev-php/pecl-yaml/pecl-yaml-2.2.3-r1.ebuild (renamed from dev-php/pecl-yaml/pecl-yaml-2.2.3.ebuild)3
3 files changed, 28 insertions, 2 deletions
diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest
index adf6fc0fa5e1..2aae12f962e7 100644
--- a/dev-php/pecl-yaml/Manifest
+++ b/dev-php/pecl-yaml/Manifest
@@ -1,5 +1,6 @@
+AUX pecl-yaml-2.2.3-c99-incompatible-pointer-types.patch 838 BLAKE2B e5131838637a1441011b396135c172b183072a22d7e309e00c35af0bfeed0e623c2b963cc72c9d75af86a6af68ea785db6ade6c70c4800e0a0ced27da4e3507d SHA512 cebd4de57b693d19673154cb80e5bc9ecbadd6b07ef6a8aa736cd17803fc7109e1ed23d18672e7da79b90cbec458d0433b7fc4755034797532520190b7912da5
DIST yaml-2.2.2.tgz 41063 BLAKE2B 9fc85be5cb1eb86bc052b86d6292601babee0eb6fa790c0f5a77b307c2bd5a7a6ff66ea9efa21fa958a3c4f415f1850525454566b5a4303182d12a778fb2ed93 SHA512 4c1d3012623154b8d74908fb319a637d7bff178d02d0732d1a3d19d24df2c612d62948eb7dcd9ead9fd31f2da7af0cec54657b8cce128968a04079dd0002117d
DIST yaml-2.2.3.tgz 41276 BLAKE2B f3233b63bbaffa0d6fff70092d46e6b38557b78b3a1dcee498745b9253b828c6d68b09bee17a598fd1006701a795c0ace0c61755d1cd8e8a4305092ba8bec6a6 SHA512 99d63d430dd2fa9767ecb3f70599d2ebd4c53b27770df72c00c4723816de422c581cea05e96c3cba5aaecbdc57cc482fad0f1fa300bdcf887daa7c2c034e6f4b
EBUILD pecl-yaml-2.2.2.ebuild 397 BLAKE2B d33928d1087212fe6ce022cea156ccd1d3d66902b3f8ab5efd7ef41f8e9e4580a6ab6ab44804578e5ecdb9b834a15f900ab7f79233b9b7be48cad732f3c355d7 SHA512 6bdf819196a3dc14698aafdfc26b0b32f9242e98db7d74390c1ff246f6c32d8df8f185c7850a3736b47b9169e8ada77bd362e44c039b3ebfe1ca432f987b6ae8
-EBUILD pecl-yaml-2.2.3.ebuild 404 BLAKE2B d6d8952ca2935509e9819747b333c6a654143ceea578c272cc59e458a2b91d429cab0693549dc4a16252f9347b6e960a32d431be5c54755f0307816c99e52ce1 SHA512 f706245e4f2be724597a30e8922794eab799907370dec404a8279fb454fd7a3f3a6d54fc7cabea4a45cb0b128a13a93b30177ce21021f6f95e7fcd6e7822a4f4
+EBUILD pecl-yaml-2.2.3-r1.ebuild 472 BLAKE2B f5983f0783da71ac954998169a146bd17e8a039526c2cc6d704950c915f79fdbc68b431fec8ef7f1390bfa59235e026bbbd69789de6b01a5a3ca8bcfb1dd8b5a SHA512 e4a56b35435d20610fadf3939369006c48e642d744893e08c159cf75105dd541fcb8ee857ee061892d12b158fb224ca5db35d3a54d117bbb05346de586211171
MISC metadata.xml 239 BLAKE2B c25c5a46bb59def6d564473a743d1c351a5fbeea2168a71478952bc219392c40f6e86a6e510589d9b70b834f58967a8d647f4cf2f1d4de1e37e2828f70035b44 SHA512 6f0cde14a96ea085b4d2e48538a956d62dbb4ee847096cebed5ad02e35f0f183a22aa19282ed4f59bf8f6d6ef935e6c7def3f7a5b4b24ee227601b6f8974e781
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
new file mode 100644
index 000000000000..f0f7421a7632
--- /dev/null
+++ b/dev-php/pecl-yaml/files/pecl-yaml-2.2.3-c99-incompatible-pointer-types.patch
@@ -0,0 +1,24 @@
+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
diff --git a/dev-php/pecl-yaml/pecl-yaml-2.2.3.ebuild b/dev-php/pecl-yaml/pecl-yaml-2.2.3-r1.ebuild
index 64c9a699a0c2..1bee510816fb 100644
--- a/dev-php/pecl-yaml/pecl-yaml-2.2.3.ebuild
+++ b/dev-php/pecl-yaml/pecl-yaml-2.2.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,3 +18,4 @@ KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="dev-libs/libyaml"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${P}-c99-incompatible-pointer-types.patch" )