pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libkeyfinder



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 25 13:49:49 UTC 2022

Modified Files:
        pkgsrc/audio/libkeyfinder: distinfo
Added Files:
        pkgsrc/audio/libkeyfinder/patches: patch-src_windowfunctions.cpp

Log Message:
libkeyfinder: avoid ambiguous pow(3)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/libkeyfinder/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/libkeyfinder/patches/patch-src_windowfunctions.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/libkeyfinder/distinfo
diff -u pkgsrc/audio/libkeyfinder/distinfo:1.1 pkgsrc/audio/libkeyfinder/distinfo:1.2
--- pkgsrc/audio/libkeyfinder/distinfo:1.1      Sat Nov 20 18:09:45 2021
+++ pkgsrc/audio/libkeyfinder/distinfo  Mon Apr 25 13:49:49 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/11/20 18:09:45 nia Exp $
+$NetBSD: distinfo,v 1.2 2022/04/25 13:49:49 tnn Exp $
 
 BLAKE2s (libkeyfinder-2.2.5.tar.gz) = 37abe2a1057e320df231cbfcceb0bd39fe8b58f12e1ce5a21cd962e3df5dc611
 SHA512 (libkeyfinder-2.2.5.tar.gz) = 54463d1f1111dc474d3e43723fddd5579ea1a3842f99f43e50e85622a1d6ee6fe42b22c300ce5ba5807cf6b2d7067af741773af95974a42c5d863c53165893eb
 Size (libkeyfinder-2.2.5.tar.gz) = 79220 bytes
+SHA1 (patch-src_windowfunctions.cpp) = f3eb1a4bd739fa41e56aecddde1ce85a745df5a6

Added files:

Index: pkgsrc/audio/libkeyfinder/patches/patch-src_windowfunctions.cpp
diff -u /dev/null pkgsrc/audio/libkeyfinder/patches/patch-src_windowfunctions.cpp:1.1
--- /dev/null   Mon Apr 25 13:49:49 2022
+++ pkgsrc/audio/libkeyfinder/patches/patch-src_windowfunctions.cpp     Mon Apr 25 13:49:49 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_windowfunctions.cpp,v 1.1 2022/04/25 13:49:49 tnn Exp $
+
+Explicitly use std::pow, avoids ambiguous reference on SunOS.
+
+--- src/windowfunctions.cpp.orig       2021-07-17 22:04:12.000000000 +0000
++++ src/windowfunctions.cpp
+@@ -21,6 +21,8 @@
+ 
+ #include "windowfunctions.h"
+ 
++using std::pow;
++
+ namespace KeyFinder {
+ 
+   double WindowFunction::window(temporal_window_t windowType, int n, int N) const {



Home | Main Index | Thread Index | Old Index