diff options
| author | Adam Vandenberg | 2012-08-26 14:18:30 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-26 14:18:30 -0700 |
| commit | 0dba76a6beda38e9e5357faaf3339408dcea0879 (patch) | |
| tree | fdbe7fe28c06f3bd9c2c49a05e9a5f561be54aa0 /Library/Formula | |
| parent | ac5c2707339ac4279dfa6299e84f0a6e95d305c6 (diff) | |
| download | homebrew-0dba76a6beda38e9e5357faaf3339408dcea0879.tar.bz2 | |
portmidi: use newer header
Fixes #13176.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/portmidi.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/portmidi.rb b/Library/Formula/portmidi.rb index eb2017d23..9feb0c33f 100644 --- a/Library/Formula/portmidi.rb +++ b/Library/Formula/portmidi.rb @@ -3,7 +3,7 @@ require 'formula' class Portmidi < Formula homepage 'http://sourceforge.net/apps/trac/portmedia/wiki/portmidi' url 'http://downloads.sourceforge.net/project/portmedia/portmidi/200/portmidi-src-200.zip' - md5 '26053a105d938395227bb6ae1d78643b' + sha1 'dcd979881a3b16518d33999e529004d7a647c2db' depends_on 'cmake' => :build @@ -17,6 +17,11 @@ class Portmidi < Formula inreplace 'pm_mac/Makefile.osx', 'PF=/usr/local', "PF=#{prefix}" + # Fix compilation on Mountain Lion, works on previous versions too + inreplace 'pm_mac/readbinaryplist.c', + '#include "Folders.h"', + '#include <CoreServices/CoreServices.h>' + # need to create include/lib directories since make won't create them itself include.mkpath lib.mkpath |
