aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-07 14:57:15 -0700
committerAdam Vandenberg2014-05-07 14:57:15 -0700
commit30786de5d3e3c9a1e48bd9b3520996f607090916 (patch)
tree6fb89630de7275a7fb376492c8becd4849aa221e /Library/Formula
parentf4560d21d5232bf94a64ba320e8dde5170ebf65f (diff)
downloadhomebrew-30786de5d3e3c9a1e48bd9b3520996f607090916.tar.bz2
catdoc: fails with clang
This software uses undefined behavior (decrementing a null pointer) that compiles one way on GCC and another way on Clang with optimizations.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/catdoc.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/catdoc.rb b/Library/Formula/catdoc.rb
index d2e964004..38a2e23bc 100644
--- a/Library/Formula/catdoc.rb
+++ b/Library/Formula/catdoc.rb
@@ -5,6 +5,10 @@ class Catdoc < Formula
url 'http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz'
sha1 '50ce9d7cb24ad6b10a856c9c24183e2b0a11ca04'
+ fails_with :clang do
+ cause "The source uses undocumented behavior (decrementing null)."
+ end
+
def install
# catdoc configure says it respects --mandir=, but does not.
ENV['man1dir'] = man1