From a81cd28e4b3cd00fcd83e92b0ecebb1e0f69510c Mon Sep 17 00:00:00 2001 From: kristerw Date: Fri, 12 Nov 2004 20:27:23 +0000 Subject: Fix a C99-ism to make this pkg build with gcc 2.95. --- audio/libvisual-bmp/distinfo | 3 ++- audio/libvisual-bmp/patches/patch-ab | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 audio/libvisual-bmp/patches/patch-ab (limited to 'audio') diff --git a/audio/libvisual-bmp/distinfo b/audio/libvisual-bmp/distinfo index 7ba3465473b..404367a7cc3 100644 --- a/audio/libvisual-bmp/distinfo +++ b/audio/libvisual-bmp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/11/05 21:12:35 wiz Exp $ +$NetBSD: distinfo,v 1.2 2004/11/12 20:27:23 kristerw Exp $ SHA1 (libvisual-bmp-0.1.0.tar.gz) = aeaeb0ed431bdc0255067bad016df33a5d72e647 Size (libvisual-bmp-0.1.0.tar.gz) = 368244 bytes SHA1 (patch-aa) = 4b0f49c1d864364d1c2f6730444d8685f718cef7 +SHA1 (patch-ab) = 0bd7498ca69f1eea34c2489558605360075f8d7b diff --git a/audio/libvisual-bmp/patches/patch-ab b/audio/libvisual-bmp/patches/patch-ab new file mode 100644 index 00000000000..1a96f678725 --- /dev/null +++ b/audio/libvisual-bmp/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2004/11/12 20:27:23 kristerw Exp $ + +--- src/main.c.orig Fri Nov 12 21:20:40 2004 ++++ src/main.c Fri Nov 12 21:21:07 2004 +@@ -438,14 +438,14 @@ + + static int visual_render (void *arg) + { +- visual_running = 1; +- visual_stopped = 0; + long render_time, now; + long frame_length; + long idle_time; + long frames; + int ret; + ++ visual_running = 1; ++ visual_stopped = 0; + ret = visual_initialize (options->width, options->height); + if (ret < 0) { + visual_log (VISUAL_LOG_CRITICAL, _("Cannot initialize plugin's visual stuff")); -- cgit v1.2.3