summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-11-12 20:27:23 +0000
committerkristerw <kristerw>2004-11-12 20:27:23 +0000
commita81cd28e4b3cd00fcd83e92b0ecebb1e0f69510c (patch)
tree449cd8d1c6bb20b0cadd48996813732ad70e9939 /audio
parent4743f9ddbe40214f66abfef19c65d974756bc710 (diff)
downloadpkgsrc-a81cd28e4b3cd00fcd83e92b0ecebb1e0f69510c.tar.gz
Fix a C99-ism to make this pkg build with gcc 2.95.
Diffstat (limited to 'audio')
-rw-r--r--audio/libvisual-bmp/distinfo3
-rw-r--r--audio/libvisual-bmp/patches/patch-ab21
2 files changed, 23 insertions, 1 deletions
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"));