diff options
| author | Martin Delille | 2014-03-13 18:45:28 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-16 11:40:24 -0700 |
| commit | 3c96ed84594b37f873183ca69d7590e540900a27 (patch) | |
| tree | 29dc10d2574fed7a192bd324a2a58a3e3b2af373 /Library/Formula | |
| parent | 7ebe48e608fe4e113d0d6c839ea764cca1a29168 (diff) | |
| download | homebrew-3c96ed84594b37f873183ca69d7590e540900a27.tar.bz2 | |
portaudio: add mirror to patch
Fixes #27512.
Closes #27513.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/portaudio.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb index 295236825..ae3ee8f4f 100644 --- a/Library/Formula/portaudio.rb +++ b/Library/Formula/portaudio.rb @@ -16,11 +16,11 @@ class Portaudio < Formula end # Fix PyAudio compilation on Lion - def patches - if MacOS.version >= :lion and not build.head? - { :p0 => "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" } - end - end + patch :p0 do + url "https://trac.macports.org/export/94150/trunk/dports/audio/portaudio/files/patch-include__pa_mac_core.h.diff" + mirror "https://raw.github.com/sakuro/macports/9ee0b7dd6045a3967348638a228bc1a658bcaa3f/audio/portaudio/files/patch-include__pa_mac_core.h.diff" + sha1 "28188dfb6a5438a050fccb70331751a40e33447d" + end if MacOS.version >= :lion and not build.head? def install ENV.universal_binary if build.universal? |
