summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-07-14 09:15:08 +0000
committerjperkin <jperkin@pkgsrc.org>2014-07-14 09:15:08 +0000
commit01a9007ee7bfa545a85d9006607301022013d553 (patch)
tree9b05c5887db6daa305ca753459d52620b66cc8fc /misc
parent0a9cd9d2719ec65f93bdd8747c0fdc5979445a59 (diff)
downloadpkgsrc-01a9007ee7bfa545a85d9006607301022013d553.tar.gz
Avoid "error: call of overloaded <func> is ambiguous".
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeaddons3/distinfo3
-rw-r--r--misc/kdeaddons3/patches/patch-noatun-plugins_noatunmadness_madness.cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/misc/kdeaddons3/distinfo b/misc/kdeaddons3/distinfo
index 72dad0d7b6d..86e2eeabcd0 100644
--- a/misc/kdeaddons3/distinfo
+++ b/misc/kdeaddons3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.39 2013/09/08 16:35:24 joerg Exp $
+$NetBSD: distinfo,v 1.40 2014/07/14 09:15:08 jperkin Exp $
SHA1 (kdeaddons-3.5.10.tar.bz2) = 5342e2f0a21e9028d9aaa2ee253f89f615ee57de
RMD160 (kdeaddons-3.5.10.tar.bz2) = eada207a25f9cff0c10732e03bc8d9d813f79bd2
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 68cea80eaf8f9c457f9d4a74a32f0da549699878
SHA1 (patch-ab) = 863ba6f46568a30f16bb0564c2cb969ce1c999b7
SHA1 (patch-konq-plugins_domtreeviewer_domtreecommands.cpp) = 258ba801a0eb57f81514f0a6b673fc9fa5ecafc9
SHA1 (patch-konq-plugins_sidebar_Makefile.in) = e6914b1e7e65dad40f981eaea8e37e1f67d5a268
+SHA1 (patch-noatun-plugins_noatunmadness_madness.cpp) = ea1278e6ccdcad322e4ee5b769952dd35b69fc29
diff --git a/misc/kdeaddons3/patches/patch-noatun-plugins_noatunmadness_madness.cpp b/misc/kdeaddons3/patches/patch-noatun-plugins_noatunmadness_madness.cpp
new file mode 100644
index 00000000000..4a7f8bce160
--- /dev/null
+++ b/misc/kdeaddons3/patches/patch-noatun-plugins_noatunmadness_madness.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-noatun-plugins_noatunmadness_madness.cpp,v 1.1 2014/07/14 09:15:09 jperkin Exp $
+
+Avoid "error: call of overloaded <func> is ambiguous"
+
+--- noatun-plugins/noatunmadness/madness.cpp.orig 2008-02-13 09:35:41.000000000 +0000
++++ noatun-plugins/noatunmadness/madness.cpp
+@@ -71,7 +71,7 @@ void Madness::scopeEvent(float *d, int s
+ int delta=0; // in pixels
+ for (int count=0; count<size; count++)
+ {
+- delta+=(int)((log10(d[count]+1)/log(2))*(size-count))/2;
++ delta+=(int)((log10(d[count]+1)/log(2.0))*(size-count))/2;
+ }
+
+ // cout << "delta: " << delta << endl;