diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-11 22:29:38 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-06-11 22:29:38 +0000 |
commit | 47a28fa2def4ccacaf5658f79406f422e543e215 (patch) | |
tree | 6b1afd04f141e84eee5ab3ce6ea6df438e0463ea /net/xmule/files/patch-src::xmule.cpp | |
parent | o After repo copy from ports/net/lmule (this is a fork of lmule): (diff) |
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 <lauri@fruitsalad.org>,
Frerich Raabe <frerich.raabe@gmx.de> [1]
Repo copy approved by: portmgr (self)
Repo copied by: cvs (joe)
Notes
Notes:
svn path=/head/; revision=82816
Diffstat (limited to 'net/xmule/files/patch-src::xmule.cpp')
-rw-r--r-- | net/xmule/files/patch-src::xmule.cpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net/xmule/files/patch-src::xmule.cpp b/net/xmule/files/patch-src::xmule.cpp new file mode 100644 index 000000000000..8e4ba4ff0ed1 --- /dev/null +++ b/net/xmule/files/patch-src::xmule.cpp @@ -0,0 +1,42 @@ +--- src/xmule.cpp.orig Tue May 27 00:02:47 2003 ++++ src/xmule.cpp Tue May 27 21:31:38 2003 +@@ -55,16 +55,6 @@ + // ON_COMMAND(ID_HELP, CWinApp::OnHelp) + //END_MESSAGE_MAP() + +-#include <sys/time.h> +-inline long GetTickCount() +-{ +- struct timeval aika; +- gettimeofday(&aika,NULL); +- unsigned long secs=aika.tv_sec*1000; +- secs+=(aika.tv_usec/1000); +- return secs; +-} +- + CxmuleApp::CxmuleApp() { + splashBmp=new wxBitmap((const char**)About_jpg); + } +@@ -641,11 +631,13 @@ + + } //End Added By Bouc7 + +- ++#if 0 + #include <execinfo.h> ++#endif + + void CxmuleApp::OnFatalException() + { ++#if 0 + // (stkn) create backtrace + void * bt_array[100]; // 100 should be enough ?!? + char ** bt_strings; +@@ -666,6 +658,7 @@ + fprintf(stderr, "[%d] %s\n", i, bt_strings[i]); + + free(bt_strings); ++#endif + } + + #define wxGTK_WINDOW 1 |