aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-03-22 18:50:24 -0700
committerMisty De Meo2014-03-22 18:50:54 -0700
commit497123f7ecc6b82225b0c0afc81b2411679d64cc (patch)
tree6564855f9c6459205f552edb66c7c42ce14d429c /Library
parent543f2a68e9c9fbda3e75f4c4883fef1248cb83f9 (diff)
downloadbrew-497123f7ecc6b82225b0c0afc81b2411679d64cc.tar.bz2
LD64Dependency: adjust initializer signature
The method signature of Dependency changed in 1fdf69b90382c43493a5f62f0020729289db6c70, however LD64Dependency was missed in the update. This resulted in failures in merge_repeats(), which creates many dependency objects using all three arguments.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirements/ld64_dependency.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/requirements/ld64_dependency.rb b/Library/Homebrew/requirements/ld64_dependency.rb
index 28440321d..0520c0884 100644
--- a/Library/Homebrew/requirements/ld64_dependency.rb
+++ b/Library/Homebrew/requirements/ld64_dependency.rb
@@ -4,7 +4,7 @@ require 'dependency'
# formula is used as gcc's ld in place of the old version
# that comes with the OS.
class LD64Dependency < Dependency
- def initialize(name='ld64', tags=[:build])
+ def initialize(name='ld64', tags=[:build], env_proc=nil)
@env_proc = proc { ENV.ld64 }
super
end