public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zvbi/, media-libs/zvbi/files/
Date: Thu, 31 Jul 2025 06:59:48 +0000 (UTC)	[thread overview]
Message-ID: <1753945175.a4877f9eff98c9339defb2d95c8b0d0533cb4be9.sam@gentoo> (raw)

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


                 reply	other threads:[~2025-07-31  7:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1753945175.a4877f9eff98c9339defb2d95c8b0d0533cb4be9.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox