aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-06-10 13:55:33 -0700
committerAdam Vandenberg2012-06-10 14:07:36 -0700
commit6a59198147639d50d2c4337fb53d33a79595c0af (patch)
tree4a40bfc1aac4849b6f2234d99867639acbe66c98 /Library/Formula
parent5b94da02bd6d5217e743fdf56098d97ccc77a2d5 (diff)
downloadhomebrew-6a59198147639d50d2c4337fb53d33a79595c0af.tar.bz2
dwarf 0.3.0
Upgrade dwarf to version 0.3.0 Add a `fails_with :clang` block and comments indicating the bug report upstream. It works well using llvm on Lion. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dwarf.rb17
1 files changed, 12 insertions, 5 deletions
diff --git a/Library/Formula/dwarf.rb b/Library/Formula/dwarf.rb
index 3943742f4..98bd015bb 100644
--- a/Library/Formula/dwarf.rb
+++ b/Library/Formula/dwarf.rb
@@ -1,16 +1,23 @@
require 'formula'
class Dwarf < Formula
- url 'http://dwarf-ng.googlecode.com/files/dwarf-0.2.tar.gz'
- head 'http://code.autistici.org/svn/dwarf/trunk'
homepage 'http://code.autistici.org/trac/dwarf'
- md5 '70dce54fe268af3368b9340e3ad73142'
+ url 'http://dwarf-ng.googlecode.com/files/dwarf-0.3.0.tar.gz'
+ sha1 '19a69424bd208741a325a4fc0e791a516c3bc8bc'
+
+ head 'http://code.autistici.org/svn/dwarf/trunk'
depends_on 'readline'
+ # There's a subtle error in C99 handling of stdint.h and inttypes.h.
+ # Reported upstream: http://code.autistici.org/trac/dwarf/ticket/8
+ fails_with :clang do
+ build 318
+ cause "error: unknown type name 'intmax_t'"
+ end
+
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
system "make install"
end
end