packages/net/amule/patches/001-no_backtrace.patch

23 lines
695 B
Diff
Raw Normal View History

Index: aMule-2.1.3/src/libs/common/MuleDebug.cpp
===================================================================
--- aMule-2.1.3.orig/src/libs/common/MuleDebug.cpp 2007-09-23 21:47:41.000000000 +0200
+++ aMule-2.1.3/src/libs/common/MuleDebug.cpp 2007-09-23 21:47:41.000000000 +0200
@@ -32,7 +32,7 @@
#include "MuleDebug.h" // Interface declaration
#include "StringFunctions.h" // Needed for unicode2char
-#ifdef __LINUX__
+#if defined(__LINUX__) && !defined(__UCLIBC__)
#include <execinfo.h>
#include <cxxabi.h>
#include <wx/thread.h>
@@ -151,7 +151,7 @@
return walker.m_trace;
}
-#elif defined(__LINUX__)
+#elif defined(__LINUX__) && !defined(__UCLIBC__)
#if HAVE_BFD