aboutsummaryrefslogtreecommitdiffstats
path: root/testing/httrack/compile_fix.patch
diff options
context:
space:
mode:
authorxming <xmingske@gmail.com>2014-09-19 09:59:49 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-09-19 12:10:31 +0200
commit86223c49db081552562538adebbf547f6cbebe14 (patch)
treef362207e1f6a5a1f11b096beb195591058bcaebf /testing/httrack/compile_fix.patch
parent4c930edc7669ac008cc077cd00afb4a380641581 (diff)
downloadaports-86223c49db081552562538adebbf547f6cbebe14.tar.bz2
aports-86223c49db081552562538adebbf547f6cbebe14.tar.xz
testing/httrack: new aport
Website Copier - Free Software Offline Browser http://www.httrack.com/
Diffstat (limited to 'testing/httrack/compile_fix.patch')
-rw-r--r--testing/httrack/compile_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/httrack/compile_fix.patch b/testing/httrack/compile_fix.patch
new file mode 100644
index 0000000000..ad7aebce11
--- /dev/null
+++ b/testing/httrack/compile_fix.patch
@@ -0,0 +1,22 @@
+--- 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) {