diff options
Diffstat (limited to 'audio/toolame/patches/patch-ab')
-rw-r--r-- | audio/toolame/patches/patch-ab | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/audio/toolame/patches/patch-ab b/audio/toolame/patches/patch-ab index 6028323a730..3dbe44b8288 100644 --- a/audio/toolame/patches/patch-ab +++ b/audio/toolame/patches/patch-ab @@ -1,9 +1,20 @@ -$NetBSD: patch-ab,v 1.1.1.1 2003/06/23 07:07:26 mrg Exp $ +$NetBSD: patch-ab,v 1.2 2005/07/30 11:30:03 grant Exp $ these patches correct invalid C code that declares variables after statements. --- psycho_4.c.orig 2003-03-02 11:50:48.000000000 +1100 -+++ psycho_4.c 2003-06-20 17:06:47.000000000 +1000 ++++ psycho_4.c +@@ -83,8 +83,8 @@ static F2HBLK *r, *phi_sav; + + #define TRIGTABLESIZE 3142 + #define TRIGTABLESCALE 1000.0 +-static FLOAT cos_table[TRIGTABLESIZE]; +-static FLOAT sin_table[TRIGTABLESIZE]; ++FLOAT cos_table[TRIGTABLESIZE]; ++FLOAT sin_table[TRIGTABLESIZE]; + void psycho_4_trigtable_init(void) { + + int i; @@ -361,6 +361,7 @@ void psycho_4_init (double sfreq, option } |