diff options
Diffstat (limited to 'media-video/alevt/files/alevt-1.6.1-gcc4.patch')
-rw-r--r-- | media-video/alevt/files/alevt-1.6.1-gcc4.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-video/alevt/files/alevt-1.6.1-gcc4.patch b/media-video/alevt/files/alevt-1.6.1-gcc4.patch new file mode 100644 index 000000000000..868ba36f2f50 --- /dev/null +++ b/media-video/alevt/files/alevt-1.6.1-gcc4.patch @@ -0,0 +1,25 @@ +diff -ur alevt-1.6.1/xio.c alevt-1.6.1-gcc4/xio.c +--- alevt-1.6.1/xio.c 2002-08-20 05:09:38.000000000 +0200 ++++ alevt-1.6.1-gcc4/xio.c 2005-07-28 15:08:53.281978632 +0200 +@@ -31,11 +31,12 @@ + + static struct dl_head dpys[1]; /* list of all displays */ + ++static void xio_timer(); ++static void handle_event(); + + static int + timer_init(int argc, char **argv) + { +- static void xio_timer(); + int p[2], timer_pid, i; + + if (pipe(p) == -1) +@@ -160,7 +161,6 @@ + xio_open_dpy(char *dpy, int argc, char **argv) + { + XClassHint classhint[1]; +- static void handle_event(); //forward ref + struct xio *xio; + + if (local_init(argc, argv) == -1) |