Subject: pkg/36804: ktorrent compile error on current
To: None <,,>
From: Bernd Ernesti <>
List: pkgsrc-bugs
Date: 08/18/2007 18:15:00
>Number:         36804
>Category:       pkg
>Synopsis:       ktorrent compile error on current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 18 18:15:00 +0000 2007
>Originator:     Bernd Ernesti
>Release:        NetBSD 4.99.29
System: NetBSD 4.99.29
Architecture: i386
Machine: i386

	The new patch-ab cause a compile error on NetBSD -current: In member function 'void kt::ChartDrawer::AddValue(size_t, double, bool)': error: 'isnan' was not declared in this scope error: 'isinf' was not declared in this scope
gmake[3]: *** [ChartDrawer.lo] Error 1
gmake[3]: Leaving directory `/pkgsrc/net/ktorrent/work.i386/ktorrent-2.2.1/plugins/stats'

	On a NetBSD -current system:
	cd pkgsrc/net/ktorrent
	Removing the patch fixed the problem for me, but this may not
	be the best solution.

	David Brownlee said the following on pkgsrc-changes, when I asked
	about the purpose of this patch:
Yes, this was for NetBSD 4.0_BETA2. The patch should probably be
conditional on NetBSD version...

	I don't know which error was fixed by this patch on 4.0_BETA2,
	since I have no such system where I could test it.