diff options
| author | Adam Vandenberg | 2012-04-29 11:04:24 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-29 11:04:40 -0700 |
| commit | 1a3c5acdca4e93ddd164cdf569ad1026b95b3562 (patch) | |
| tree | e318ff342af8b57981e7b57e729211d09a55c4e9 /Library/Formula | |
| parent | 5c27d1d61f20441cdac94a63827acd2e0bf5b72c (diff) | |
| download | homebrew-1a3c5acdca4e93ddd164cdf569ad1026b95b3562.tar.bz2 | |
qemu 1.0.1
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qemu.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb index e3e96750a..72cebd7c7 100644 --- a/Library/Formula/qemu.rb +++ b/Library/Formula/qemu.rb @@ -1,19 +1,25 @@ require 'formula' class Qemu < Formula - url 'http://wiki.qemu.org/download/qemu-0.15.0.tar.gz' homepage 'http://www.qemu.org/' - md5 'dbc55b014bcd21b98e347f6a90f7fb6d' + url 'http://wiki.qemu.org/download/qemu-1.0.1.tar.gz' + sha1 '4d08b5a83538fcd7b222bec6f1c584da8d12497a' depends_on 'jpeg' depends_on 'gnutls' - fails_with :llvm do - cause "Segmentation faults occur at run-time with LLVM using qemu-system-arm." + # Borrow these patches from MacPorts + def patches + { :p0 => [ + "https://trac.macports.org/export/92470/trunk/dports/emulators/qemu/files/patch-configure.diff", + "https://trac.macports.org/export/92470/trunk/dports/emulators/qemu/files/patch-cocoa-uint16-redefined.diff" + ]} end def install system "./configure", "--prefix=#{prefix}", + "--cc=#{ENV.cc}", + "--host-cc=#{ENV.cc}", "--disable-darwin-user", "--enable-cocoa", "--disable-bsd-user", |
