From 47a28fa2def4ccacaf5658f79406f422e543e215 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 11 Jun 2003 22:29:38 +0000 Subject: o After repo copy from ports/net/lmule (this is a fork of lmule): update to xmule version 1.4.0 o Special thanks to [1] who helped patching the application for FreeBSD Reviewed by: Lauri Watts , Frerich Raabe [1] Repo copy approved by: portmgr (self) Repo copied by: cvs (joe) --- net-p2p/xmule/files/patch-src::updownclient.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net-p2p/xmule/files/patch-src::updownclient.h (limited to 'net-p2p/xmule/files/patch-src::updownclient.h') diff --git a/net-p2p/xmule/files/patch-src::updownclient.h b/net-p2p/xmule/files/patch-src::updownclient.h new file mode 100644 index 000000000000..9891c50e1d6b --- /dev/null +++ b/net-p2p/xmule/files/patch-src::updownclient.h @@ -0,0 +1,24 @@ +--- src/updownclient.h.orig Sun May 25 18:27:59 2003 ++++ src/updownclient.h Tue May 27 21:14:31 2003 +@@ -26,12 +26,20 @@ + #include "SafeFile.h" + #include "BarShader.h" + #include "otherfunctions.h" ++#include + + class CPartFile; + class CKnownFile; + typedef unsigned char byte; +-extern inline long GetTickCount(); + ++inline long GetTickCount() ++{ ++ struct timeval aika; ++ gettimeofday(&aika,NULL); ++ unsigned long secs=aika.tv_sec*1000; ++ secs+=(aika.tv_usec/1000); ++ return secs; ++} + + // uploadstate + #define US_UPLOADING 0 -- cgit v1.2.3