packages/net/amule/patches/001-no_backtrace.patch
olli 99d7fedabe amule:
* Cleanup Makefile
 * Refresh patch

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 19:58:21 +00:00

23 lines
695 B
Diff

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