summaryrefslogtreecommitdiff
path: root/media-sound/mpfc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-09 00:01:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-09 00:01:03 +0100
commita0ce545d52f231499bf9f3644493113d8af58ec9 (patch)
tree4d67c09eed0c2ae28d1317f72d7f7b08b4f6aeea /media-sound/mpfc
parent5181ced3f3566a9610b85922b083c8f84f20d78f (diff)
gentoo auto-resync : 09:05:2024 - 00:01:03
Diffstat (limited to 'media-sound/mpfc')
-rw-r--r--media-sound/mpfc/Manifest3
-rw-r--r--media-sound/mpfc/files/mpfc-1.3.8.1-c99-incompatible-pointers.patch50
-rw-r--r--media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild1
3 files changed, 53 insertions, 1 deletions
diff --git a/media-sound/mpfc/Manifest b/media-sound/mpfc/Manifest
index e3547b264fd3..93980ec48240 100644
--- a/media-sound/mpfc/Manifest
+++ b/media-sound/mpfc/Manifest
@@ -1,5 +1,6 @@
+AUX mpfc-1.3.8.1-c99-incompatible-pointers.patch 1542 BLAKE2B e5d94d8e8af5be076f4366efac8ec7ac2916b660037d6c9766404d20039cfb92072155d99b48873989dd470870ef734d6ef35e85147ab85ea1409cdc1b0a8982 SHA512 359f8834826598ef3870237934ae30dace6cfcd6405d35248f2acd807fedb8045609a1a8f873745ab8ce64998313878bf7b88fc88d1433adccf8810b3e490f1c
AUX mpfc-1.3.8.1-fix-underlinking.patch 960 BLAKE2B 5eee0cea45c470b6837120cd89fd9dc180a5f295c5fcaa08a640009c51b37c3397e0f2f9755dc1baf7ac1af0f6003895368a333f1b8304b5fa096bb7a99a5e84 SHA512 117c49a7893c95b8b7e592aba76afd4f05f076b88db303a4fcb0efdaad351008bd91d88d06f278586920907c54801df49c7101c8dc2e41475038244cefd6a480
AUX mpfc-1.3.8.1-qa-implicit-declarations.patch 4938 BLAKE2B 117d2f5aa9290aa49b65bd8cf085fe30068ccdd558a8c18a5e6b94ebd27eeb07924aeb2f0735499cce7d520b5fa86cc69f6f49580d197979162837b4c906f107 SHA512 afd61c08964b237124316a7cad4cecef29d8c269c6e2d0c645d81272167e9f7de2b3c1ef33e2877e1b5f2c0a4021bf2e548a04976142c22e889a6cf769807233
DIST mpfc-1.3.8.1.tar.gz 1042027 BLAKE2B 2d0e1991397930d8251db4c766705b769e24adf518d963bc56bba92f3aaf9deeedca2331e6fbeab609d4fd0dc49a69a35f3180149b7f35c0d94795e6be22ff59 SHA512 071e12ea784a8610aa6621f5afa1c6ba1e2a3ffe0deac8175b8b43b4446f0c54ff049fd8321aff7551766fe4561a974e39bbf93e30b353b25e27673ea9584573
-EBUILD mpfc-1.3.8.1-r5.ebuild 1212 BLAKE2B ec062412b17cdda476cf37fb76ba122d7db2af97063ee77469ad702412f5b4a0825c4568e76cfe0615be366db5dfec082be1fbc3b3f37880f5785644a32ca3b4 SHA512 a4d40c9300c1c34085cf1c77d9ec12f4e2463f409fb063180305b564cdba93ea4d56a894b8d7c437ef53a7e2780c53998e837419b464b41f6a4b5b9099c9d0fc
+EBUILD mpfc-1.3.8.1-r5.ebuild 1264 BLAKE2B 8a369e3d7470fabb7dbb0bfa96140ea039959729e0f00b1ccd1d6385af3eeaa77f6a22ca2e64e0d859be59d0212364b77346075555e0d162326a832b82751e03 SHA512 27a7226065603154f4df30e100be67e2132b1edd4c1dad1926420904ad9963fe5893bf61cb03491f595140375fda792ee7e833697b23adec18751d6618385235
MISC metadata.xml 414 BLAKE2B 80916d7f217ba95f9f59a798c02014a997ece827ee7c7477cc3044edeb678d98cb66b26bacd0c9d6b42b39612045dd94f58a3f58203ad769f68e9216b494bc57 SHA512 9bfb767a9a834ffcbcd6e2a885bca8c4b3068760ad00ad6dff2d63c837a8db9b76f8aa4121c754546d49bbd8ebde866d7920cdaf0b02b006d1a5ae020023d70a
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..364888855198
--- /dev/null
+++ b/media-sound/mpfc/files/mpfc-1.3.8.1-c99-incompatible-pointers.patch
@@ -0,0 +1,50 @@
+Closes: https://bugs.gentoo.org/921021
+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() {