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 0000000000000..0e50e76c5f07e --- /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 e510dfef99bdf..6df5604031ed5 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