aboutsummaryrefslogtreecommitdiff
path: root/net/xmule/files/patch-src::xmule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/xmule/files/patch-src::xmule.cpp')
-rw-r--r--net/xmule/files/patch-src::xmule.cpp42
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