summaryrefslogtreecommitdiff
path: root/audio/libvisual-plugins/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-06-16 21:19:07 +0000
committerkristerw <kristerw@pkgsrc.org>2005-06-16 21:19:07 +0000
commit2bd5a448c018192a4cc4d51bad7699279339a62c (patch)
tree4a6de2d76e99c7f961757158d7ee202411fa4358 /audio/libvisual-plugins/patches
parent1cc02a8459d583dbe2ac62f178dc7874882fe951 (diff)
downloadpkgsrc-2bd5a448c018192a4cc4d51bad7699279339a62c.tar.gz
Fix C99-isms to make this package compile with gcc 2.95.
Diffstat (limited to 'audio/libvisual-plugins/patches')
-rw-r--r--audio/libvisual-plugins/patches/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/libvisual-plugins/patches/patch-ab b/audio/libvisual-plugins/patches/patch-ab
new file mode 100644
index 00000000000..af22a67e9cc
--- /dev/null
+++ b/audio/libvisual-plugins/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1 2005/06/16 21:19:08 kristerw Exp $
+
+--- plugins/actor/pseudotoad_flower/notch.c.orig Thu Jun 16 22:50:58 2005
++++ plugins/actor/pseudotoad_flower/notch.c Thu Jun 16 22:52:05 2005
+@@ -25,12 +25,13 @@
+ #include <stdio.h>
+ #include <math.h>
+ #include <string.h>
++#include <stdlib.h>
+
+ #include "notch.h"
+
+ NOTCH_FILTER * init_notch(float cutoff) {
+ NOTCH_FILTER * l=malloc(sizeof(NOTCH_FILTER));
+- float steep = 0.99;;
++ float steep = 0.99;
+ float r = steep * 0.99609375;
+ float f = cos(M_PI * cutoff / SAMPLING_RATE);
+ l->cutoff = cutoff;