public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gozer/, media-gfx/gozer/files/
Date: Sun,  1 Oct 2023 16:57:48 +0000 (UTC)	[thread overview]
Message-ID: <1696179451.8540d29e1a7e96241bb845e3083fe577df2a26e7.soap@gentoo> (raw)

commit:     8540d29e1a7e96241bb845e3083fe577df2a26e7
Author:     Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Sun Oct  1 16:57:31 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 16:57:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8540d29e

media-gfx/gozer: Fix call to undeclared library function strcmp

Closes: https://github.com/gentoo/gentoo/pull/33148
Closes: https://bugs.gentoo.org/896210
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch | 11 +++++++++++
 media-gfx/gozer/{gozer-0.7-r4.ebuild => gozer-0.7-r5.ebuild} |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch
new file mode 100644
index 000000000000..1a42a15839a6
--- /dev/null
+++ b/media-gfx/gozer/files/gozer-0.7-fix-build-with-clang16.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/896210
+--- a/src/getopt.c
++++ b/src/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+ 
+ #include <stdio.h>
++#include <string.h>
+ 
+ /* Comment out all this code if we are using the GNU C Library, and are not
+    actually compiling the library itself.  This code is part of the GNU C

diff --git a/media-gfx/gozer/gozer-0.7-r4.ebuild b/media-gfx/gozer/gozer-0.7-r5.ebuild
similarity index 86%
rename from media-gfx/gozer/gozer-0.7-r4.ebuild
rename to media-gfx/gozer/gozer-0.7-r5.ebuild
index f14a25fce9c2..6dd3168d57a0 100644
--- a/media-gfx/gozer/gozer-0.7-r4.ebuild
+++ b/media-gfx/gozer/gozer-0.7-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,6 +24,7 @@ DEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${P}-fix-build-system.patch
+	"${FILESDIR}"/${P}-fix-build-with-clang16.patch
 )
 
 src_prepare() {


                 reply	other threads:[~2023-10-01 16:57 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=1696179451.8540d29e1a7e96241bb845e3083fe577df2a26e7.soap@gentoo \
    --to=soap@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