mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user