diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-26 21:56:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-26 21:56:23 +0100 |
commit | 97e5ac8a082d0d11fc18e8b8994a78e8d155899e (patch) | |
tree | dab08cf04e891e90970759f697657a399cf9990f /media-sound/deadbeef/files | |
parent | 533ce9c954925ca2a6bccd1f52f266e81e61a678 (diff) |
gentoo auto-resync : 26:10:2022 - 21:56:23
Diffstat (limited to 'media-sound/deadbeef/files')
-rw-r--r-- | media-sound/deadbeef/files/deadbeef-1.9.2-cdda-plugin-clang-16-fixes.patch | 34 |
1 files changed, 34 insertions, 0 deletions
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 + |