diff options
author | tron <tron> | 2006-06-30 18:15:27 +0000 |
---|---|---|
committer | tron <tron> | 2006-06-30 18:15:27 +0000 |
commit | 394c9382db6e986e19e2b3f40e3bbc137df988c4 (patch) | |
tree | 7f3f5e47e62980e44fc16c0b3bcf221002c2ee0c /multimedia | |
parent | 0cfeba72aef37166b8ef44648edba0d58951ae61 (diff) | |
download | pkgsrc-394c9382db6e986e19e2b3f40e3bbc137df988c4.tar.gz |
Don't use function-local forward declarations of static functions
to make this build with GCC 4.x.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/alevt/distinfo | 3 | ||||
-rw-r--r-- | multimedia/alevt/patches/patch-ab | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/multimedia/alevt/distinfo b/multimedia/alevt/distinfo index 7d74d4ec4fe..4304fe307b3 100644 --- a/multimedia/alevt/distinfo +++ b/multimedia/alevt/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 11:24:02 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/06/30 18:15:27 tron Exp $ SHA1 (alevt-1.6.0.tar.gz) = ac7d71e738e77fc485c59221171011673e239bbe RMD160 (alevt-1.6.0.tar.gz) = 33c30480c2e148642d653153662715da370ae76e Size (alevt-1.6.0.tar.gz) = 116646 bytes SHA1 (patch-aa) = 86e57806c89cdcf55be6125c0c3af6c136c76022 +SHA1 (patch-ab) = a2105193322b671960f426f42eb8590c01051139 diff --git a/multimedia/alevt/patches/patch-ab b/multimedia/alevt/patches/patch-ab new file mode 100644 index 00000000000..327240188da --- /dev/null +++ b/multimedia/alevt/patches/patch-ab @@ -0,0 +1,31 @@ +$NetBSD: patch-ab,v 1.1 2006/06/30 18:15:27 tron Exp $ + +--- xio.c.orig 2000-10-11 18:49:10.000000000 +0100 ++++ xio.c 2006-06-30 19:13:51.000000000 +0100 +@@ -32,10 +32,11 @@ + static struct dl_head dpys[1]; /* list of all displays */ + + ++static void xio_timer(void *data, int fd); ++ + static int + timer_init(int argc, char **argv) + { +- static xio_timer(); + int p[2], timer_pid, i; + + if (pipe(p) == -1) +@@ -157,11 +158,12 @@ + + + ++static void handle_event(struct xio *xio, int fd); ++ + struct xio * + 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) |