diff options
author | abs <abs@pkgsrc.org> | 2007-08-23 16:40:29 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2007-08-23 16:40:29 +0000 |
commit | 1beeafcfefdf15d0f5f47f8deac7dcbf818513d3 (patch) | |
tree | 990392a06da5c615edbd9dba80ee10088610c69a /net/ktorrent | |
parent | e44e2c60b8c08c7926831a152cd9fbaf85c8e60f (diff) | |
download | pkgsrc-1beeafcfefdf15d0f5f47f8deac7dcbf818513d3.tar.gz |
Update ktorrent to 2.2.1nb1. Fix compile on NetBSD/-current - from Bernd Ernesti - PR/36804
Diffstat (limited to 'net/ktorrent')
-rw-r--r-- | net/ktorrent/Makefile | 3 | ||||
-rw-r--r-- | net/ktorrent/distinfo | 6 | ||||
-rw-r--r-- | net/ktorrent/patches/patch-ab | 18 |
3 files changed, 19 insertions, 8 deletions
diff --git a/net/ktorrent/Makefile b/net/ktorrent/Makefile index 34136422566..c1d482df504 100644 --- a/net/ktorrent/Makefile +++ b/net/ktorrent/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2007/08/17 16:05:48 abs Exp $ +# $NetBSD: Makefile,v 1.11 2007/08/23 16:40:29 abs Exp $ DISTNAME= ktorrent-${KTORRENT_VER} +PKGREVISION= 1 CATEGORIES= net kde MASTER_SITES= http://ktorrent.org/downloads/${KTORRENT_VER}/ diff --git a/net/ktorrent/distinfo b/net/ktorrent/distinfo index 04c9dd8f8ff..cac7a695bcc 100644 --- a/net/ktorrent/distinfo +++ b/net/ktorrent/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2007/08/17 16:05:48 abs Exp $ +$NetBSD: distinfo,v 1.6 2007/08/23 16:40:29 abs Exp $ SHA1 (ktorrent-2.2.1.tar.gz) = 53dd36430fd47b396b16d30d466c45bd87ae40b2 RMD160 (ktorrent-2.2.1.tar.gz) = 329b6e0556a11875d7ce36d669c5c25370552936 Size (ktorrent-2.2.1.tar.gz) = 3763678 bytes -SHA1 (patch-aa) = ef4fb3204159a548ba13b8259efb1aa9cb50a19f -SHA1 (patch-ab) = ca44c60b7de0d9cc82d02b2266a9b95e34fa0bb0 +SHA1 (patch-aa) = 77e5d150ba09f460e147664f6e0a97ebc40414c4 +SHA1 (patch-ab) = 7deeb27c42d10f104852d227cacd5ddd54e46f49 diff --git a/net/ktorrent/patches/patch-ab b/net/ktorrent/patches/patch-ab index ea5b378d13f..b68122e7a14 100644 --- a/net/ktorrent/patches/patch-ab +++ b/net/ktorrent/patches/patch-ab @@ -1,12 +1,22 @@ -$NetBSD: patch-ab,v 1.3 2007/07/22 08:38:58 abs Exp $ +$NetBSD: patch-ab,v 1.4 2007/08/23 16:40:29 abs Exp $ ---- plugins/stats/ChartDrawer.cc.orig 2007-07-18 15:37:03.000000000 +0100 +--- plugins/stats/ChartDrawer.cc.orig 2007-07-23 17:43:08.000000000 +0100 +++ plugins/stats/ChartDrawer.cc -@@ -272,6 +272,8 @@ void ChartDrawer::AddValue(const size_t +@@ -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) ++#elif defined(Q_OS_NETBSD) && __NetBSD_Version__ < 499002000 + if(isnan(val) || isinf(val)) #else if(std::isnan(val) || (std::isinf(val))) |