From 40bb627dcaf0bacc699803bddc1147cb635759c1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 23 Jul 2013 17:02:59 +0200 Subject: update htop --- package/htop/patches/patch-crt_c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 package/htop/patches/patch-crt_c (limited to 'package/htop/patches/patch-crt_c') diff --git a/package/htop/patches/patch-crt_c b/package/htop/patches/patch-crt_c deleted file mode 100644 index b88d2a1de..000000000 --- a/package/htop/patches/patch-crt_c +++ /dev/null @@ -1,30 +0,0 @@ ---- htop-0.9.orig/CRT.c 2010-11-23 16:56:32.000000000 +0100 -+++ htop-0.9/CRT.c 2011-05-31 14:30:06.000000000 +0200 -@@ -11,7 +11,9 @@ - #include - #include - #include -+#ifdef HAVE_EXECINFO_H - #include -+#endif - - #include "String.h" - -@@ -125,12 +127,14 @@ - CRT_done(); - #if __linux - fprintf(stderr, "\n\nhtop " VERSION " aborting. Please report bug at http://htop.sf.net\n"); -- #else -- fprintf(stderr, "\n\nhtop " VERSION " aborting. Unsupported platform.\n"); -- #endif -+ #ifdef HAVE_EXECINFO_H - size_t size = backtrace(backtraceArray, sizeof(backtraceArray)); - fprintf(stderr, "Backtrace: \n"); - backtrace_symbols_fd(backtraceArray, size, 2); -+ #endif -+ #else -+ fprintf(stderr, "\n\nhtop " VERSION " aborting. Unsupported platform.\n"); -+ #endif - abort(); - } - -- cgit v1.2.3