Subject: pkg/36804: ktorrent compile error on current
To: None <email@example.com, firstname.lastname@example.org,>
From: Bernd Ernesti <email@example.com>
Date: 08/18/2007 18:15:00
>Synopsis: ktorrent compile error on current
>Arrival-Date: Sat Aug 18 18:15:00 +0000 2007
>Originator: Bernd Ernesti
>Release: NetBSD 4.99.29
System: NetBSD 4.99.29
The new patch-ab cause a compile error on NetBSD -current:
ChartDrawer.cc: In member function 'void kt::ChartDrawer::AddValue(size_t, double, bool)':
ChartDrawer.cc:276: error: 'isnan' was not declared in this scope
ChartDrawer.cc:276: error: 'isinf' was not declared in this scope
gmake: *** [ChartDrawer.lo] Error 1
gmake: Leaving directory `/pkgsrc/net/ktorrent/work.i386/ktorrent-2.2.1/plugins/stats'
On a NetBSD -current system:
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.