aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2014-08-26 08:49:17 -0700
committerMisty De Meo2014-08-26 08:49:39 -0700
commit4d94734f78a042bf92b9f5712f731cc938bc211a (patch)
treee439a4a46a6370ea9bb01703ba63d0a30618a0ea /Library/Formula
parentb12f8567be558117e63f072517278edf18a06de0 (diff)
downloadhomebrew-4d94734f78a042bf92b9f5712f731cc938bc211a.tar.bz2
zile: only builds with clang and newer GCC
Fixes mistydemeo/tigerbrew#215.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/zile.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/zile.rb b/Library/Formula/zile.rb
index 48babb16e..8727f3a49 100644
--- a/Library/Formula/zile.rb
+++ b/Library/Formula/zile.rb
@@ -12,6 +12,19 @@ class Zile < Formula
sha1 "1a32cf3d3c235bba1fd570e7bff81190851ec411" => :lion
end
+ # https://github.com/mistydemeo/tigerbrew/issues/215
+ fails_with :gcc_4_0 do
+ cause "src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions"
+ end
+
+ fails_with :gcc do
+ cause "src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions"
+ end
+
+ fails_with :llvm do
+ cause "src/funcs.c:1128: error: #pragma GCC diagnostic not allowed inside functions"
+ end
+
depends_on "pkg-config" => :build
depends_on "help2man" => :build
depends_on "bdw-gc"