h12o@Exegesis:/usr/local/Library/Formula$ git diff emacs.rb diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb index 7be7cdc..d9dc706 100644 --- a/Library/Formula/emacs.rb +++ b/Library/Formula/emacs.rb @@ -38,6 +38,12 @@ class Emacs < Formula end end + def patches + if build.include? "cocoa" and not build.head? + { :p0 => "https://gist.github.com/ganta/5139150/raw/8f6fc32747c40a51de