diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ladspa/distinfo | 4 | ||||
-rw-r--r-- | audio/ladspa/patches/patch-ac | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/audio/ladspa/distinfo b/audio/ladspa/distinfo index 062cf5f54a1..182b9648c5c 100644 --- a/audio/ladspa/distinfo +++ b/audio/ladspa/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2012/01/11 18:05:09 hans Exp $ +$NetBSD: distinfo,v 1.9 2013/09/13 09:11:13 jperkin Exp $ SHA1 (ladspa_sdk_1.13.tgz) = 2b69e28afb62c0d97943124f48ed82de796f83ed RMD160 (ladspa_sdk_1.13.tgz) = e9eeae8edd24a6890fac3e34c4b55f844f44f8a0 Size (ladspa_sdk_1.13.tgz) = 70540 bytes SHA1 (patch-aa) = 7d09109572f9da19aac4104437704d731fc3ff99 SHA1 (patch-ab) = 1ad33baf6dcc4633e1459b6585cc8ccada57831f -SHA1 (patch-ac) = d3367fa484cc0b2d4cef733832de3b1ddc147bdb +SHA1 (patch-ac) = 40108e5e4fdba9b2be322d0de532a97322d22325 diff --git a/audio/ladspa/patches/patch-ac b/audio/ladspa/patches/patch-ac index 40bc343e0aa..8945f094ef7 100644 --- a/audio/ladspa/patches/patch-ac +++ b/audio/ladspa/patches/patch-ac @@ -1,8 +1,17 @@ -$NetBSD: patch-ac,v 1.1 2006/08/08 15:16:40 wiz Exp $ +$NetBSD: patch-ac,v 1.2 2013/09/13 09:11:13 jperkin Exp $ ---- plugins/sine.cpp.orig 2002-07-06 17:23:17.000000000 +0000 +Avoid "error: call of overloaded 'pow(int, unsigned int)' is ambiguous" + +--- plugins/sine.cpp.orig 2007-11-06 10:13:34.000000000 +0000 +++ plugins/sine.cpp -@@ -59,6 +59,15 @@ initialise_sine_table() { +@@ -62,12 +62,21 @@ initialise_sine_table() { + g_pfSineTable[lIndex] = LADSPA_Data(sin(dShift * lIndex)); + } + if (g_fPhaseStepBase == 0) { +- g_fPhaseStepBase = (LADSPA_Data)pow(2, sizeof(unsigned long) * 8); ++ g_fPhaseStepBase = (LADSPA_Data)pow((float)2, (float)sizeof(unsigned long) * 8); + } + } /*****************************************************************************/ |