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 <[email protected]> +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 +
