aboutsummaryrefslogtreecommitdiffstats
path: root/main/varnish/fix-compat-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/varnish/fix-compat-execinfo.patch')
-rw-r--r--main/varnish/fix-compat-execinfo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/varnish/fix-compat-execinfo.patch b/main/varnish/fix-compat-execinfo.patch
new file mode 100644
index 0000000000..e806a32774
--- /dev/null
+++ b/main/varnish/fix-compat-execinfo.patch
@@ -0,0 +1,11 @@
+--- varnish-4.0.2.orig/lib/libvarnishcompat/execinfo.c
++++ varnish-4.0.2/lib/libvarnishcompat/execinfo.c
+@@ -30,7 +30,7 @@
+
+ #include "compat/execinfo.h"
+
+-#if defined (__GNUC__) && __GNUC__ >= 4 /* XXX Correct version to check for ? */
++#if !defined(__arm__) && defined (__GNUC__) && __GNUC__ >= 4 /* XXX Correct version to check for ? */
+
+ #include <sys/types.h>
+ #include <sys/uio.h>