pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/zynaddsubfx
Module Name: pkgsrc
Committed By: nia
Date: Mon Dec 2 07:46:04 UTC 2024
Modified Files:
pkgsrc/audio/zynaddsubfx: distinfo
Added Files:
pkgsrc/audio/zynaddsubfx/patches: patch-src_UI_Fl__EQGraph.cpp
Log Message:
zynaddsubfx: Fix ambiguous use of log() on integer in C++ code.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/zynaddsubfx/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/zynaddsubfx/patches/patch-src_UI_Fl__EQGraph.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/zynaddsubfx/distinfo
diff -u pkgsrc/audio/zynaddsubfx/distinfo:1.3 pkgsrc/audio/zynaddsubfx/distinfo:1.4
--- pkgsrc/audio/zynaddsubfx/distinfo:1.3 Tue Oct 26 09:59:39 2021
+++ pkgsrc/audio/zynaddsubfx/distinfo Mon Dec 2 07:46:04 2024
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 09:59:39 nia Exp $
+$NetBSD: distinfo,v 1.4 2024/12/02 07:46:04 nia Exp $
BLAKE2s (zynaddsubfx-3.0.5.tar.bz2) = d476654987b37e6125d3ce788791aadfb083407e0c475f76ba041348b872b1e9
SHA512 (zynaddsubfx-3.0.5.tar.bz2) = 1e4d5a6393937e6c7103e6d0e97df76f2d129350854c2f338aa888591091b1508c63e9b52c8e5a176e282ff2f6b72c6a87de54875c412771aff26e8ece2c84e8
Size (zynaddsubfx-3.0.5.tar.bz2) = 8141703 bytes
SHA1 (patch-DPF_distrho_extra_Mutex.hpp) = a4bc825c95019daaf094cd9427c4d16bc1664bf8
+SHA1 (patch-src_UI_Fl__EQGraph.cpp) = 084ba36e84a9895817f4b48b2a7e4331629d75ae
Added files:
Index: pkgsrc/audio/zynaddsubfx/patches/patch-src_UI_Fl__EQGraph.cpp
diff -u /dev/null pkgsrc/audio/zynaddsubfx/patches/patch-src_UI_Fl__EQGraph.cpp:1.1
--- /dev/null Mon Dec 2 07:46:04 2024
+++ pkgsrc/audio/zynaddsubfx/patches/patch-src_UI_Fl__EQGraph.cpp Mon Dec 2 07:46:04 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_UI_Fl__EQGraph.cpp,v 1.1 2024/12/02 07:46:04 nia Exp $
+
+Fix "error: call of overloaded 'log(int)' is ambiguous" on SunOS.
+
+--- src/UI/Fl_EQGraph.cpp.orig 2024-12-02 07:44:57.508262122 +0000
++++ src/UI/Fl_EQGraph.cpp
+@@ -174,7 +174,7 @@ double Fl_EQGraph::getresponse(int maxy,
+ mag *= abs(num_res/dem_res);
+ }
+
+- float dbresp=20*log(mag*gain)/log(10);
++ float dbresp=20*log(mag*gain)/log(10.0);
+
+ //rescale
+ return (int) ((dbresp/MAX_DB+1.0)*maxy/2.0);
Home |
Main Index |
Thread Index |
Old Index