gentoo/x11-misc/trayer-srg/files/trayer-srg-1.1.8-fix-define.patch
NHOrus 94ae89d1b0
x11-misc/trayer-srg: fix build with modern C
Missing argument in function declaration in header.
Drops old, unpatched revision.

Closes: https://bugs.gentoo.org/944020
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40394
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 08:52:00 +00:00

14 lines
374 B
Diff

Add missing argument in function declaration, C23
https://bugs.gentoo.org/944020
--- a/bg.h
+++ b/bg.h
@@ -9,7 +9,7 @@
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-void bg_init();
+void bg_init(Display *dpyn);
void bg_rootbg_changed();
GdkPixmap *bg_new_for_win(Window win);
void modify_drawable(GdkDrawable *base, GdkGC *gc, guint32 tintcolor, gint alpha);