pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/strawberry strawberry: avoid ambiguous math func...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6493b0545a8a
branches: trunk
changeset: 377949:6493b0545a8a
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Apr 25 15:19:48 2022 +0000
description:
strawberry: avoid ambiguous math functions
diffstat:
audio/strawberry/distinfo | 4 ++-
audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp | 15 +++++++++++
audio/strawberry/patches/patch-src_analyzer_boomanalyzer.cpp | 14 ++++++++++
3 files changed, 32 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 011afb9c938d -r 6493b0545a8a audio/strawberry/distinfo
--- a/audio/strawberry/distinfo Mon Apr 25 15:17:21 2022 +0000
+++ b/audio/strawberry/distinfo Mon Apr 25 15:19:48 2022 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.18 2022/04/10 15:25:22 nia Exp $
+$NetBSD: distinfo,v 1.19 2022/04/25 15:19:48 tnn Exp $
BLAKE2s (strawberry-1.0.4.tar.xz) = a4a21708497f4c01d71540a8d97347459c0eb49ed7f990944485688ae10230c1
SHA512 (strawberry-1.0.4.tar.xz) = e2a90911acd47735715266cb3745910a6e04a2ef4e98b0c9734230a5e2b382cf7d3681fc2e368a361e7a7c53bc0627a88a36e6df6c4f6941d54f65e2424d29ee
Size (strawberry-1.0.4.tar.xz) = 11208992 bytes
+SHA1 (patch-src_analyzer_blockanalyzer.cpp) = e1e22a4ea278f03142f13fd8310730854a8ddc9a
+SHA1 (patch-src_analyzer_boomanalyzer.cpp) = 833bab9d6b59644c9acae662bc389bf731e507ad
diff -r 011afb9c938d -r 6493b0545a8a audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp Mon Apr 25 15:19:48 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_analyzer_blockanalyzer.cpp,v 1.1 2022/04/25 15:19:48 tnn Exp $
+
+avoid ambiguous math functions
+
+--- src/analyzer/blockanalyzer.cpp.orig 2022-03-26 20:21:03.329168404 +0000
++++ src/analyzer/blockanalyzer.cpp
+@@ -36,6 +36,8 @@
+ #include "analyzerbase.h"
+ #include "fht.h"
+
++using std::log10;
++
+ const int BlockAnalyzer::kHeight = 2;
+ const int BlockAnalyzer::kWidth = 4;
+ const int BlockAnalyzer::kMinRows = 3; // arbitrary
diff -r 011afb9c938d -r 6493b0545a8a audio/strawberry/patches/patch-src_analyzer_boomanalyzer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/patches/patch-src_analyzer_boomanalyzer.cpp Mon Apr 25 15:19:48 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_analyzer_boomanalyzer.cpp,v 1.1 2022/04/25 15:19:48 tnn Exp $
+
+avoid ambiguous math functions
+
+--- src/analyzer/boomanalyzer.cpp.orig 2022-03-22 20:09:13.757653684 +0000
++++ src/analyzer/boomanalyzer.cpp
+@@ -38,6 +38,7 @@
+ #include "analyzerbase.h"
+
+ using Analyzer::Scope;
++using std::log10;
+
+ const int BoomAnalyzer::kColumnWidth = 4;
+ const int BoomAnalyzer::kMaxBandCount = 256;
Home |
Main Index |
Thread Index |
Old Index