summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools/patches/patch-include-schily-mconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrtools/patches/patch-include-schily-mconfig.h')
-rw-r--r--sysutils/cdrtools/patches/patch-include-schily-mconfig.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/cdrtools/patches/patch-include-schily-mconfig.h b/sysutils/cdrtools/patches/patch-include-schily-mconfig.h
new file mode 100644
index 00000000000..6892099ea2a
--- /dev/null
+++ b/sysutils/cdrtools/patches/patch-include-schily-mconfig.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-include-schily-mconfig.h,v 1.1 2011/08/04 11:40:50 joerg Exp $
+
+--- include/schily/mconfig.h.orig 2011-08-03 11:32:36.000000000 +0000
++++ include/schily/mconfig.h
+@@ -151,6 +151,11 @@ extern "C" {
+ #endif
+ #endif
+
++#ifdef __clang__
++/* Bad interactions with the compiler, so disable this crap... */
++#undef HAVE_SCANSTACK
++#endif
++
+ /*
+ * Allow to overwrite the defines in the makefiles by calling
+ *