From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F378158064 for ; Wed, 8 May 2024 16:56:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACC19E2B67; Wed, 8 May 2024 16:56:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 778A6E2B63 for ; Wed, 8 May 2024 16:56:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D6903431C9 for ; Wed, 8 May 2024 16:56:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB4A493E for ; Wed, 8 May 2024 16:56:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1715187363.d96581112c9694ea14771d83b0df107ac12bb20f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpfc/, media-sound/mpfc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/mpfc/files/mpfc-1.3.8.1-c99-incompatible-pointers.patch media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild X-VCS-Directories: media-sound/mpfc/files/ media-sound/mpfc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d96581112c9694ea14771d83b0df107ac12bb20f X-VCS-Branch: master Date: Wed, 8 May 2024 16:56:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f2c98957-7b6d-49d7-9ab4-f4203a149264 X-Archives-Hash: 90cc94b43bef1a015c424cb5e61dab99 commit: d96581112c9694ea14771d83b0df107ac12bb20f Author: NHOrus yahoo com> AuthorDate: Mon Apr 1 17:20:03 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 8 16:56:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9658111 media-sound/mpfc: Fix incompatible-pointer-types Closes: https://bugs.gentoo.org/921021 Signed-off-by: NHOrus yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/36045 Signed-off-by: Sam James gentoo.org> .../mpfc-1.3.8.1-c99-incompatible-pointers.patch | 49 ++++++++++++++++++++++ media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild | 1 + 2 files changed, 50 insertions(+) diff --git a/media-sound/mpfc/files/mpfc-1.3.8.1-c99-incompatible-pointers.patch b/media-sound/mpfc/files/mpfc-1.3.8.1-c99-incompatible-pointers.patch new file mode 100644 index 000000000000..2145184c2528 --- /dev/null +++ b/media-sound/mpfc/files/mpfc-1.3.8.1-c99-incompatible-pointers.patch @@ -0,0 +1,49 @@ +diff -ur mpfc-1.3.8.1.orig/src/player.c mpfc-1.3.8.1/src/player.c +--- a/src/player.c 2024-04-01 17:05:09.855312224 +0000 ++++ b/src/player.c 2024-04-01 17:08:54.586992161 +0000 +@@ -2673,14 +2673,14 @@ + { + player_pmng_view_t *v = &views[i]; + int index = v->m_list->m_cursor; +- plugin_t *p; ++ general_plugin_t *p; + + /* Get info */ + if (!v->m_list->m_list_size) + continue; +- p = (plugin_t *)v->m_list->m_list[index].m_data; +- char *author = plugin_get_author(p); +- char *desc = plugin_get_desc(p); ++ p = v->m_list->m_list[index].m_data; ++ char *author = plugin_get_author(&p->m_plugin); ++ char *desc = plugin_get_desc(&p->m_plugin); + + /* Set labels */ + editbox_set_text(v->m_author, author == NULL ? "" : author); +@@ -2688,7 +2688,7 @@ + + /* Synchronize effect checkbox */ + if (i == PLAYER_PMNG_EFFECT) +- v->m_enabled_cb->m_checked = pmng_is_effect_enabled(player_pmng, p); ++ v->m_enabled_cb->m_checked = pmng_is_effect_enabled(player_pmng, &p->m_plugin); + else if (i == PLAYER_PMNG_GENERAL) + { + bool_t started = genp_is_started(p); +@@ -3198,7 +3198,7 @@ + player_pmng_view_t *v = NULL; + player_pmng_view_t *views; + wnd_t *dlg; +- plugin_t *p; ++ general_plugin_t *p; + int index; + + /* Determine our view */ +@@ -3212,7 +3212,7 @@ + index = v->m_list->m_cursor; + if (!v->m_list->m_list_size) + return WND_MSG_RETCODE_OK; +- p = (plugin_t *)v->m_list->m_list[index].m_data; ++ p = v->m_list->m_list[index].m_data; + + /* Change state */ + if (!genp_is_started(p)) diff --git a/media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild b/media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild index 7c1422cff42e..b7120a8c0b73 100644 --- a/media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild +++ b/media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild @@ -26,6 +26,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${P}-fix-underlinking.patch" "${FILESDIR}/${P}-qa-implicit-declarations.patch" + "${FILESDIR}/${P}-c99-incompatible-pointers.patch" ) src_prepare() {