summaryrefslogtreecommitdiff
path: root/audio/libvisual-xmms/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-11-12 20:53:32 +0000
committerkristerw <kristerw@pkgsrc.org>2004-11-12 20:53:32 +0000
commitf298099c5e7a4953db70c55bad3641e3bd0c05c4 (patch)
treeae0a0a0f3f137d5bb430c2e49a7c0719840fc09d /audio/libvisual-xmms/patches
parent5401909985d9a90ee55f0cf95d8739436708e85a (diff)
downloadpkgsrc-f298099c5e7a4953db70c55bad3641e3bd0c05c4.tar.gz
Fix a C99-ism to make this pkg build with gcc 2.95.
Diffstat (limited to 'audio/libvisual-xmms/patches')
-rw-r--r--audio/libvisual-xmms/patches/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/libvisual-xmms/patches/patch-ab b/audio/libvisual-xmms/patches/patch-ab
new file mode 100644
index 00000000000..2d849f82516
--- /dev/null
+++ b/audio/libvisual-xmms/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2004/11/12 20:53:32 kristerw Exp $
+
+--- src/main.c.orig Fri Nov 12 21:45:23 2004
++++ src/main.c Fri Nov 12 21:45:51 2004
+@@ -451,14 +451,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;
+ /* Alright set up the display stuff, we have to do this in this thread because
+ * GL don't like cross threadness */
+ ret = visual_initialize (options->width, options->height);