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.
master
Adam Vandenberg 2014-05-07 14:57:15 -07:00
parent 0c3e8f04cd
commit 62f8792e29
1 changed files with 4 additions and 0 deletions

View File

@ -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