summaryrefslogtreecommitdiff
path: root/package/rtorrent/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'package/rtorrent/patches/patch-configure')
-rw-r--r--package/rtorrent/patches/patch-configure41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/rtorrent/patches/patch-configure b/package/rtorrent/patches/patch-configure
new file mode 100644
index 000000000..eeb358399
--- /dev/null
+++ b/package/rtorrent/patches/patch-configure
@@ -0,0 +1,41 @@
+--- rtorrent-0.8.6.orig/configure 2009-11-30 16:45:22.000000000 +0100
++++ rtorrent-0.8.6/configure 2011-03-05 11:45:35.000000000 +0100
+@@ -14566,38 +14566,6 @@ fi
+
+
+
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execinfo.h" >&5
+-$as_echo_n "checking for execinfo.h... " >&6; }
+-
+- if test "$cross_compiling" = yes; then :
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error "cannot run test program while cross compiling
+-See \`config.log' for more details." "$LINENO" 5; }
+-else
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include <execinfo.h>
+- int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
+-
+-_ACEOF
+-if ac_fn_c_try_run "$LINENO"; then :
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+-
+-$as_echo "#define USE_EXECINFO 1" >>confdefs.h
+-
+-
+-else
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-
+-fi
+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+- conftest.$ac_objext conftest.beam conftest.$ac_ext
+-fi
+
+
+