commit: d6540cbb06baf7bf1d0d93b07fccff658ddbb250 Author: Paul Healy <lmiphay <AT> gmail <DOT> com> AuthorDate: Tue Mar 10 12:20:00 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 11 14:15:46 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6540cbb
media-sound/pasystray: fix init and destroy arguments Thanks Philipp Ludwig for the patch. Bug: https://bugs.gentoo.org/946656 Signed-off-by: Paul Healy <lmiphay <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45913 Closes: https://github.com/gentoo/gentoo/pull/45913 Signed-off-by: Sam James <sam <AT> gentoo.org> .../pasystray/files/fix-init-destroy-arguments.patch | 16 ++++++++++++++++ media-sound/pasystray/pasystray-0.8.2.ebuild | 2 ++ 2 files changed, 18 insertions(+) diff --git a/media-sound/pasystray/files/fix-init-destroy-arguments.patch b/media-sound/pasystray/files/fix-init-destroy-arguments.patch new file mode 100644 index 000000000000..0e50e76c5f07 --- /dev/null +++ b/media-sound/pasystray/files/fix-init-destroy-arguments.patch @@ -0,0 +1,16 @@ +diff '--color=auto' -ur a/src/pasystray.h b/src/pasystray.h +--- a/src/pasystray.h 2023-02-10 22:11:00.000000000 +0100 ++++ b/src/pasystray.h 2026-01-02 13:43:52.730670950 +0100 +@@ -22,8 +22,10 @@ + #ifndef PASYSTRAY_PASYSTRAY_H + #define PASYSTRAY_PASYSTRAY_H + +-void init(); ++#include "menu_info.h" ++ ++void init(settings_t*); + void quit(); +-void destroy(); ++void destroy(settings_t*); + + #endif /* PASYSTRAY_PASYSTRAY_H */ diff --git a/media-sound/pasystray/pasystray-0.8.2.ebuild b/media-sound/pasystray/pasystray-0.8.2.ebuild index e510dfef99bd..6df5604031ed 100644 --- a/media-sound/pasystray/pasystray-0.8.2.ebuild +++ b/media-sound/pasystray/pasystray-0.8.2.ebuild @@ -30,6 +30,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}/fix-init-destroy-arguments.patch" ) + src_prepare() { default eautoreconf
