forked from pool/perl-Tk
Fix build with gcc15 See also https://build.opensuse.org/requests/1269266 OBS-URL: https://build.opensuse.org/request/show/1269956 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Tk?expand=0&rev=54
13 lines
461 B
Diff
13 lines
461 B
Diff
Index: pTk/mTk/additions/ClientWin.c
|
|
===================================================================
|
|
--- pTk/mTk/additions/ClientWin.c.orig
|
|
+++ pTk/mTk/additions/ClientWin.c
|
|
@@ -30,7 +30,7 @@ in this Software without prior written a
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xatom.h>
|
|
|
|
-static Window TryChildren();
|
|
+static Window TryChildren (Display* dpy, Window win, Atom WM_STATE);
|
|
|
|
/* Find a window with WM_STATE, else return win itself, as per ICCCM */
|