diff --git a/net/ktorrent/Makefile b/net/ktorrent/Makefile index a859395ffb0..cec9fe27776 100644 --- a/net/ktorrent/Makefile +++ b/net/ktorrent/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2008/02/05 19:17:15 naddy Exp $ +# $OpenBSD: Makefile,v 1.9 2008/04/01 21:22:10 jakemsr Exp $ SHARED_ONLY= Yes @@ -6,7 +6,7 @@ COMMENT= BitTorrent client for KDE VERSION= 2.2.5 DISTNAME= ktorrent-${VERSION} -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= net x11 x11/kde EXTRACT_SUFX= .tar.bz2 diff --git a/net/ktorrent/patches/patch-libktorrent_util_functions_cpp b/net/ktorrent/patches/patch-libktorrent_util_functions_cpp new file mode 100644 index 00000000000..360a576b91f --- /dev/null +++ b/net/ktorrent/patches/patch-libktorrent_util_functions_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-libktorrent_util_functions_cpp,v 1.1 2008/04/01 21:22:10 jakemsr Exp $ +--- libktorrent/util/functions.cpp.orig Mon Mar 31 20:18:16 2008 ++++ libktorrent/util/functions.cpp Mon Mar 31 20:25:06 2008 +@@ -178,7 +178,7 @@ namespace bt + { + struct timeval tv; + gettimeofday(&tv,0); +- global_time_stamp = (Uint64)(tv.tv_sec * 1000 + tv.tv_usec * 0.001); ++ global_time_stamp = (Uint64)tv.tv_sec * 1000 + (Uint64)tv.tv_usec * 0.001; + return global_time_stamp; + } +