diff options
author | wiz <wiz@pkgsrc.org> | 2010-03-20 21:52:23 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-03-20 21:52:23 +0000 |
commit | 839a6980f881007ea55d97d57c3e63b051ba1cb1 (patch) | |
tree | 93518f734a39aab0a9f51e756a7886eaa13c6ce4 /net/ktorrent-kde3/patches | |
parent | b9a40357856de64a64118078d5ae942c633e0317 (diff) | |
download | pkgsrc-839a6980f881007ea55d97d57c3e63b051ba1cb1.tar.gz |
Reimport ktorrent as ktorrent-kde3 to make space for the kde4 version.
Addresses PR 42920.
Diffstat (limited to 'net/ktorrent-kde3/patches')
-rw-r--r-- | net/ktorrent-kde3/patches/patch-ab | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/ktorrent-kde3/patches/patch-ab b/net/ktorrent-kde3/patches/patch-ab new file mode 100644 index 00000000000..48edc18a433 --- /dev/null +++ b/net/ktorrent-kde3/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/03/20 21:52:23 wiz Exp $ + +--- plugins/stats/ChartDrawer.cc.orig 2007-07-23 17:43:08.000000000 +0100 ++++ plugins/stats/ChartDrawer.cc +@@ -25,6 +25,9 @@ + int isinf(double x) { return !finite(x) && x==x; } + #endif + ++#ifdef Q_OS_NETBSD ++#include <sys/param.h> ++#endif + + namespace kt { + +@@ -272,6 +275,8 @@ void ChartDrawer::AddValue(const size_t + + #ifdef USE_SOLARIS + if(isnand(val) || (isinf(val))) ++#elif defined(Q_OS_NETBSD) && __NetBSD_Version__ < 499002000 ++ if(isnan(val) || isinf(val)) + #else + if(std::isnan(val) || (std::isinf(val))) + #endif |