aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 71e2a730c..57eb2ab4c 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -743,6 +743,10 @@ class Formula
specs.each { |spec| spec.option(name, description) }
end
+ def patch strip=:p1, io=nil, &block
+ specs.each { |spec| spec.patch(strip, io, &block) }
+ end
+
def plist_options options
@plist_startup = options[:startup]
@plist_manual = options[:manual]