pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libvisual-plugins Fix C99-isms to make this pack...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1117d937ff93
branches: trunk
changeset: 495659:1117d937ff93
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Thu Jun 16 21:19:07 2005 +0000
description:
Fix C99-isms to make this package compile with gcc 2.95.
diffstat:
audio/libvisual-plugins/distinfo | 3 ++-
audio/libvisual-plugins/patches/patch-ab | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r b803a37ad299 -r 1117d937ff93 audio/libvisual-plugins/distinfo
--- a/audio/libvisual-plugins/distinfo Thu Jun 16 21:16:59 2005 +0000
+++ b/audio/libvisual-plugins/distinfo Thu Jun 16 21:19:07 2005 +0000
@@ -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 -r b803a37ad299 -r 1117d937ff93 audio/libvisual-plugins/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual-plugins/patches/patch-ab Thu Jun 16 21:19:07 2005 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index