diff options
| author | Jérôme Andrieux | 2012-01-22 12:08:30 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-08 13:07:09 -0700 |
| commit | 30813c8415e6c39e5e6e0d4c9fac7012d6b9fa20 (patch) | |
| tree | 6ed09527f2dddf05f50dd4fc139339da577f68a1 /Library/Formula/node.rb | |
| parent | a85ae5b6de3a3dce9be8d9b7bc943148873fe95b (diff) | |
| download | homebrew-30813c8415e6c39e5e6e0d4c9fac7012d6b9fa20.tar.bz2 | |
node: backport for npm issue
Diffstat (limited to 'Library/Formula/node.rb')
| -rw-r--r-- | Library/Formula/node.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index eb1e30c80..e36b4d213 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -27,6 +27,12 @@ class Node < Formula end def install + # This fixes an issue with npm segfaulting. See: + # https://github.com/joyent/node/issues/2061 + # This can be removed when some version newer than 7.7 lands + # that has this fix. When updating this formula, please check! + ENV.append_to_cflags '-D__DARWIN_64_BIT_INO_T' + unless ARGV.build_devel? inreplace 'wscript' do |s| s.gsub! '/usr/local', HOMEBREW_PREFIX |
