head 1.2; access; symbols pkgsrc-2017Q3:1.1.0.28 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.24 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.22 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.20 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.18 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.16 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.14 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.12 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.10 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.8 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.6 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.4 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.2 pkgsrc-2014Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2017.09.26.10.27.08; author wiz; state dead; branches; next 1.1; commitid 9ARpkXTuh9Wg2H8A; 1.1 date 2014.07.14.09.35.47; author jperkin; state Exp; branches; next ; commitid QJpGumv3aFFWmkIx; desc @@ 1.2 log @*: remove qt3 and the packages using it, including KDE3 Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html @ text @$NetBSD: patch-kstars_kstars_fitshistogram.cpp,v 1.1 2014/07/14 09:35:47 jperkin Exp $ Avoid "error: call of overloaded is ambiguous" --- kstars/kstars/fitshistogram.cpp.orig 2006-05-22 18:03:42.000000000 +0000 +++ kstars/kstars/fitshistogram.cpp @@@@ -289,7 +289,7 @@@@ void FITSHistogramCommand::execute() case FITSImage::FITSLog: //coeff = 255. / log(1 + max); - coeff = max / log(1 + max); + coeff = max / log(1.0 + max); for (int i=0; i < height; i++) for (int j=0; j < width; j++) @@@@ -308,7 +308,7 @@@@ void FITSHistogramCommand::execute() case FITSImage::FITSSqrt: //coeff = 255. / sqrt(max); - coeff = max / sqrt(max); + coeff = max / sqrt((float)max); for (int i=0; i < height; i++) for (int j=0; j < width; j++) @ 1.1 log @Avoid "error: call of overloaded is ambiguous" failures. @ text @d1 1 a1 1 $NetBSD$ @