public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/deadbeef/, media-sound/deadbeef/files/
Date: Wed, 26 Oct 2022 19:13:32 +0000 (UTC)	[thread overview]
Message-ID: <1666811608.d4b5c9b47c92862b1f6427327b822840b80837b0.slashbeast@gentoo> (raw)

commit:     d4b5c9b47c92862b1f6427327b822840b80837b0
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 19:12:32 2022 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 19:13:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b5c9b4

media-sound/deadbeef: 1.9.2-r1: backport of clang-16 fixes.

Closes: https://bugs.gentoo.org/878283
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 ...dbeef-1.9.2.ebuild => deadbeef-1.9.2-r1.ebuild} |  1 +
 ...deadbeef-1.9.2-cdda-plugin-clang-16-fixes.patch | 34 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/media-sound/deadbeef/deadbeef-1.9.2.ebuild b/media-sound/deadbeef/deadbeef-1.9.2-r1.ebuild
similarity index 98%
rename from media-sound/deadbeef/deadbeef-1.9.2.ebuild
rename to media-sound/deadbeef/deadbeef-1.9.2-r1.ebuild
index 7208c1c907e2..669ba2ccf77e 100644
--- a/media-sound/deadbeef/deadbeef-1.9.2.ebuild
+++ b/media-sound/deadbeef/deadbeef-1.9.2-r1.ebuild
@@ -69,6 +69,7 @@ PATCHES=(
 	"${FILESDIR}/deadbeef-use-ffmpeg-plugin-for-ape-by-default.patch"
 	"${FILESDIR}/deadbeef-1.9.2-drop-Werror.patch"
 	"${FILESDIR}/deadbeef-1.9.1-ffmpeg-5.0-fixes.patch"
+	"${FILESDIR}/deadbeef-1.9.2-cdda-plugin-clang-16-fixes.patch"
 )
 
 src_prepare() {

diff --git a/media-sound/deadbeef/files/deadbeef-1.9.2-cdda-plugin-clang-16-fixes.patch b/media-sound/deadbeef/files/deadbeef-1.9.2-cdda-plugin-clang-16-fixes.patch
new file mode 100644
index 000000000000..cef941162b93
--- /dev/null
+++ b/media-sound/deadbeef/files/deadbeef-1.9.2-cdda-plugin-clang-16-fixes.patch
@@ -0,0 +1,34 @@
+From 779066a54aa8a1a92b92ebdabc8a93d6ef3fb3ba Mon Sep 17 00:00:00 2001
+From: Oleksiy Yakovenko <wakeroid@gmail.com>
+Date: Wed, 26 Oct 2022 11:50:02 +0200
+Subject: [PATCH] cdda: enum cast fix (fixes #2879)
+
+---
+ plugins/cdda/cdda.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c
+index 7229d9592..2fe3b5fda 100644
+--- a/plugins/cdda/cdda.c
++++ b/plugins/cdda/cdda.c
+@@ -846,7 +846,7 @@ get_param (const char *key, char *value, int len, const char *def)
+ "property \"CD drive to load\" select[%u] cdda.drive_device 0"
+ 
+ static int
+-cda_action_add_cd (DB_plugin_action_t *act, int ctx)
++cda_action_add_cd (DB_plugin_action_t *act, ddb_action_context_t ctx)
+ {
+     /* Get all devices containg CD audio media */
+     cdio_close_tray(NULL, NULL);
+@@ -982,7 +982,7 @@ load_cddb_data (ddb_playlist_t *plt, cddb_disc_t *disc, const size_t disc_num)
+ }
+ 
+ static int
+-action_disc_n (DB_plugin_action_t *act, int ctx)
++action_disc_n (DB_plugin_action_t *act, ddb_action_context_t ctx)
+ {
+     const int disc_num = atoi(act->name+11);
+     int res = -1;
+-- 
+2.38.1
+


             reply	other threads:[~2022-10-26 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 19:13 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-12  6:39 [gentoo-commits] repo/gentoo:master commit in: media-sound/deadbeef/, media-sound/deadbeef/files/ Viorel Munteanu
2022-09-22  1:09 Sam James

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=1666811608.d4b5c9b47c92862b1f6427327b822840b80837b0.slashbeast@gentoo \
    --to=slashbeast@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