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@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@gentoo.org>
This commit is contained in:
Paul Healy
2026-03-11 14:15:46 +00:00
committed by Sam James
parent 36b545d0d4
commit d6540cbb06
2 changed files with 18 additions and 0 deletions
@@ -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 */
@@ -30,6 +30,8 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}/fix-init-destroy-arguments.patch" )
src_prepare() {
default
eautoreconf