head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.1.1.1.0.20 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.18 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.16 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.14 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.12 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.10 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.8 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.6 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.4 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.2 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2012.03.20.08.56.16; author markd; state dead; branches; next 1.1; 1.1 date 2009.10.02.20.51.26; author markd; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.10.02.20.51.26; author markd; state Exp; branches; next ; desc @@ 1.2 log @Update to KDE SC 4.8.0. remove kdeedu4 @ text @$NetBSD: patch-ab,v 1.1 2009/10/02 20:51:26 markd Exp $ --- kmplot/kmplot/parser.cpp.orig 2008-11-29 04:33:54.000000000 +1300 +++ kmplot/kmplot/parser.cpp @@@@ -102,9 +102,13 @@@@ ScalarFunction Parser::scalarFunctions[ {"floor", 0, floor}, // round down to nearest integer {"ceil", 0, ceil}, // round up to nearest integer {"round", 0, round}, // round to nearest integer +#ifndef __NetBSD__ {"gamma", 0, tgamma}, // gamma function +#endif {"lgamma", 0, lgamma}, // log-gamma function +#ifndef __NetBSD__ {"factorial", 0, factorial}, // factorial +#endif {"erfc", 0, lerfc}, // error function {"erf", 0, lerf}, // complementary error function @@@@ -1340,9 +1344,11 @@@@ double larcsin(double x) { double larctan(double x) { return atan(x) / Parser::radiansPerAngleUnit(); } +#ifndef __NetBSD__ double factorial( double x ) { return tgamma(x+1); } +#endif double legendre0( double ) { return 1.0; } @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import KDE4.3.1 from wip OKed during freeze by wiz and agc @ text @@