pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/strawberry



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 25 15:19:48 UTC 2022

Modified Files:
        pkgsrc/audio/strawberry: distinfo
Added Files:
        pkgsrc/audio/strawberry/patches: patch-src_analyzer_blockanalyzer.cpp
            patch-src_analyzer_boomanalyzer.cpp

Log Message:
strawberry: avoid ambiguous math functions


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/audio/strawberry/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp \
    pkgsrc/audio/strawberry/patches/patch-src_analyzer_boomanalyzer.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/strawberry/distinfo
diff -u pkgsrc/audio/strawberry/distinfo:1.18 pkgsrc/audio/strawberry/distinfo:1.19
--- pkgsrc/audio/strawberry/distinfo:1.18       Sun Apr 10 15:25:22 2022
+++ pkgsrc/audio/strawberry/distinfo    Mon Apr 25 15:19:48 2022
@@ -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

Added files:

Index: pkgsrc/audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp
diff -u /dev/null pkgsrc/audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp:1.1
--- /dev/null   Mon Apr 25 15:19:48 2022
+++ pkgsrc/audio/strawberry/patches/patch-src_analyzer_blockanalyzer.cpp        Mon Apr 25 15:19:48 2022
@@ -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
Index: pkgsrc/audio/strawberry/patches/patch-src_analyzer_boomanalyzer.cpp
diff -u /dev/null pkgsrc/audio/strawberry/patches/patch-src_analyzer_boomanalyzer.cpp:1.1
--- /dev/null   Mon Apr 25 15:19:48 2022
+++ pkgsrc/audio/strawberry/patches/patch-src_analyzer_boomanalyzer.cpp Mon Apr 25 15:19:48 2022
@@ -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