aports/unmaintained/httrack/compile_fix.patch
Carlo Landmeter b6af1e02ef testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:

* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
  maintain it for you) for a minimum of 6 months ask it to be moved to community
2016-08-25 15:26:24 +02:00

23 lines
462 B
Diff

--- a/src/httrack.c
+++ b/src/httrack.c
@@ -69,7 +69,8 @@
#include <unistd.h>
#endif
#include <ctype.h>
-#ifdef __linux
+//#ifdef __linux
+#ifdef __GLIBC__
#include <execinfo.h>
#endif
/* END specific definitions */
@@ -878,7 +879,8 @@
#define FD_ERR 2
static void print_backtrace(void) {
-#ifdef __linux
+//#ifdef __linux
+#ifdef __GLIBC__
void *stack[256];
const int size = backtrace(stack, sizeof(stack)/sizeof(stack[0]));
if (size != 0) {