summaryrefslogtreecommitdiff
path: root/audio/libvisual-plugins
diff options
context:
space:
mode:
authorkristerw <kristerw>2005-06-16 21:19:07 +0000
committerkristerw <kristerw>2005-06-16 21:19:07 +0000
commit87e85b85736ab2d748fd6a3b8f58dc2d6b012d99 (patch)
tree4a6de2d76e99c7f961757158d7ee202411fa4358 /audio/libvisual-plugins
parent32dcd962b45fce1ec2de496847e4571382349254 (diff)
downloadpkgsrc-87e85b85736ab2d748fd6a3b8f58dc2d6b012d99.tar.gz
Fix C99-isms to make this package compile with gcc 2.95.
Diffstat (limited to 'audio/libvisual-plugins')
-rw-r--r--audio/libvisual-plugins/distinfo3
-rw-r--r--audio/libvisual-plugins/patches/patch-ab19
2 files changed, 21 insertions, 1 deletions
diff --git a/audio/libvisual-plugins/distinfo b/audio/libvisual-plugins/distinfo
index 4b51efe04f4..c124fb28207 100644
--- a/audio/libvisual-plugins/distinfo
+++ b/audio/libvisual-plugins/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 20:39:48 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/06/16 21:19:07 kristerw Exp $
SHA1 (libvisual-plugins-0.2.0.tar.gz) = bc001f66b1c81b747bc06e3e09aaf71882c47370
RMD160 (libvisual-plugins-0.2.0.tar.gz) = 3f4835843e3719e6342a3b8f1478f89388423b37
Size (libvisual-plugins-0.2.0.tar.gz) = 1021051 bytes
SHA1 (patch-aa) = b793cc9b38579c4f3b0656457ea0ded43e1a65ff
+SHA1 (patch-ab) = 31a380ed59ed9eed1e5516c44fec54c1e7dcf25c
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;