pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/ladspa



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Mar 26 22:06:11 UTC 2022

Modified Files:
        pkgsrc/audio/ladspa: distinfo
Added Files:
        pkgsrc/audio/ladspa/patches: patch-src_plugins_sine.cpp

Log Message:
ladspa: fix build on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/audio/ladspa/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/ladspa/distinfo
diff -u pkgsrc/audio/ladspa/distinfo:1.19 pkgsrc/audio/ladspa/distinfo:1.20
--- pkgsrc/audio/ladspa/distinfo:1.19   Mon Nov  1 20:30:27 2021
+++ pkgsrc/audio/ladspa/distinfo        Sat Mar 26 22:06:10 2022
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.19 2021/11/01 20:30:27 wiz Exp $
+$NetBSD: distinfo,v 1.20 2022/03/26 22:06:10 tnn Exp $
 
 BLAKE2s (ladspa_sdk_1.17.tgz) = 9876c59c12ab9d15fab0fd6d9771d9a9e3b47af1fa286cdaf987d5e778ea0002
 SHA512 (ladspa_sdk_1.17.tgz) = 37f94aa52b5a2f8709528989dea289eb01342f3bcb9e85d0f4829ddd9d90b2934a113db11100f09375a50f6612122b78156fec916f2c78a22406253d5cb394c7
 Size (ladspa_sdk_1.17.tgz) = 71052 bytes
 SHA1 (patch-src_Makefile) = 7ec30356b85414d90194ad90b1ac50d1840aa947
 SHA1 (patch-src_applyplugin.c) = 0a3fb3f02d46655d913249e8f6f81bad04b6e4bc
+SHA1 (patch-src_plugins_sine.cpp) = e5b266e388ff8a568d598cb3e148ecc29e4e9148

Added files:

Index: pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp
diff -u /dev/null pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp:1.1
--- /dev/null   Sat Mar 26 22:06:11 2022
+++ pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp      Sat Mar 26 22:06:11 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_plugins_sine.cpp,v 1.1 2022/03/26 22:06:11 tnn Exp $
+
+cast pow(3) exponent to canonical type
+
+--- src/plugins/sine.cpp.orig  2021-09-10 08:50:46.000000000 +0000
++++ src/plugins/sine.cpp
+@@ -62,7 +62,7 @@ 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(2, (double)sizeof(unsigned long) * 8);
+   }
+ }
+ 



Home | Main Index | Thread Index | Old Index