* [gentoo-commits] repo/gentoo:master commit in: media-libs/zvbi/, media-libs/zvbi/files/
@ 2025-07-31 6:59 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-07-31 6:59 UTC (permalink / raw
To: gentoo-commits
commit: a4877f9eff98c9339defb2d95c8b0d0533cb4be9
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Wed Jul 30 03:40:07 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 31 06:59:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4877f9e
media-libs/zvbi: install all files in doc/html, fix typo/c23
Don't list all extensions in doc/html, there's nothing to filter.
Add a patch to fix a typo that causes a c23-failure
Closes: https://bugs.gentoo.org/960844
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43239
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/zvbi/files/zvbi-0.2.44-fix_typo.patch | 31 ++++++++++++++++++++++++
media-libs/zvbi/zvbi-0.2.44.ebuild | 8 +++++-
2 files changed, 38 insertions(+), 1 deletion(-)
diff --git a/media-libs/zvbi/files/zvbi-0.2.44-fix_typo.patch b/media-libs/zvbi/files/zvbi-0.2.44-fix_typo.patch
new file mode 100644
index 000000000000..149208cbd537
--- /dev/null
+++ b/media-libs/zvbi/files/zvbi-0.2.44-fix_typo.patch
@@ -0,0 +1,31 @@
+PR pending
+https://github.com/zapping-vbi/zvbi/pull/59.patch
+Fix a typo that causes an failure
+>zvbi-0.2.44/src/ure.c:1355:19:
+>error: ISO C23 does not allow arguments for function '_ure_make_expr' declared without parameters [-Werror=deprecated-non-prototype]
+> 1355 | state = _ure_make_expr(p, _ure_pop(b), state, b);
+>
+>zvbi-0.2.44/src/ure.c:1398:13:
+>error: ISO C23 does not allow arguments for function '_ure_make_symbol' declared without parameters [-Werror=deprecated-non-prototype]
+> 1398 | sym = _ure_make_symbol(sp, ep - sp, &used, b);
+
+--- a/src/ure.c
++++ b/src/ure.c
+@@ -1189,7 +1189,7 @@ _ure_sym_neq(_ure_symtab_t *a, _ure_symtab_t *b)
+ * Construct a symbol, but only keep unique symbols.
+ */
+ static ucs2_t
+-#ifdef __stdc__
++#ifdef __STDC__
+ _ure_make_symbol(ucs2_t *sym, unsigned long limit, unsigned long *consumed,
+ _ure_buffer_t *b)
+ #else
+@@ -1255,7 +1255,7 @@ _ure_make_symbol(ucs2_t *sym, unsigned long limit, unsigned long *consumed,
+ *************************************************************************/
+
+ static ucs2_t
+-#ifdef __stdc__
++#ifdef __STDC__
+ _ure_make_expr(ucs2_t type, ucs2_t lhs, ucs2_t rhs, _ure_buffer_t *b)
+ #else
+ _ure_make_expr(type, lhs, rhs, b)
diff --git a/media-libs/zvbi/zvbi-0.2.44.ebuild b/media-libs/zvbi/zvbi-0.2.44.ebuild
index 1b40494cea08..4439ead1f84f 100644
--- a/media-libs/zvbi/zvbi-0.2.44.ebuild
+++ b/media-libs/zvbi/zvbi-0.2.44.ebuild
@@ -29,6 +29,12 @@ BDEPEND="
nls? ( sys-devel/gettext )
"
+PATCHES=(
+ # fix typo/c23
+ # https://github.com/zapping-vbi/zvbi/pull/59.patch
+ "${FILESDIR}"/${P}-fix_typo.patch
+)
+
src_prepare() {
default
eautoreconf
@@ -50,7 +56,7 @@ multilib_src_install() {
if multilib_is_native_abi; then
if use doc; then
- local HTML_DOCS=( doc/html/*.{css,gif,html,js,png,svg} )
+ local HTML_DOCS=( doc/html/. )
einstalldocs
fi
fi
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-31 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 6:59 [gentoo-commits] repo/gentoo:master commit in: media-libs/zvbi/, media-libs/zvbi/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox