summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-08-04 11:40:49 +0000
committerjoerg <joerg@pkgsrc.org>2011-08-04 11:40:49 +0000
commitdf9384a26a2c16327613acdc5bb82808285050de (patch)
treecc45b18b256154a57000740d6bf633bb0aa6c978 /sysutils/cdrtools
parent7947d57875f90f1ffc40cf6b1603b2876c779a6f (diff)
downloadpkgsrc-df9384a26a2c16327613acdc5bb82808285050de.tar.gz
Disable stack scan for clang. It fails miserable and I can't figure out
what this $%^&$%^& is supposed to do.
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/distinfo3
-rw-r--r--sysutils/cdrtools/patches/patch-include-schily-mconfig.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/sysutils/cdrtools/distinfo b/sysutils/cdrtools/distinfo
index 5197b6222d0..0074c2f6034 100644
--- a/sysutils/cdrtools/distinfo
+++ b/sysutils/cdrtools/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.59 2011/07/12 13:32:25 wiz Exp $
+$NetBSD: distinfo,v 1.60 2011/08/04 11:40:49 joerg Exp $
SHA1 (cdrtools-3.01a05.tar.bz2) = e9a5c6413c9e0e9e52fbd634ab9f1e3a1157b832
RMD160 (cdrtools-3.01a05.tar.bz2) = a3962ce855a52d9eb7f5d528e1d91226a77f78bd
Size (cdrtools-3.01a05.tar.bz2) = 2001070 bytes
+SHA1 (patch-include-schily-mconfig.h) = ad973fb720361fbe900bda12699d46d5ab799326
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
+ *