diff options
| author | Jack Nagel | 2013-09-05 11:27:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-05 12:48:35 -0500 |
| commit | b74c1c99c4f363ac8288a4de7ab686a6f69ba84b (patch) | |
| tree | f559bb3772b4d614653488b1d97dc04432064750 /Library/Formula | |
| parent | c29a34ec0f424f230628dbf0c442244569327e71 (diff) | |
| download | homebrew-b74c1c99c4f363ac8288a4de7ab686a6f69ba84b.tar.bz2 | |
node: fix compilation on 10.6
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/node.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index a21583d5d..bfda5f39c 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -53,7 +53,15 @@ class Node < Formula end # fixes gyp's detection of system paths on CLT-only systems - def patches; DATA; end + # fix compilation of libuv on <= 10.6, fixed upstream + def patches + p = [DATA] + + if build.stable? && MacOS.version <= :snow_leopard + p << "https://gist.github.com/jacknagel/6452630/raw/4d2af17010bad40c14ad9c920ef5562a646fb449/fsevents.diff" + end + p + end def install args = %W{--prefix=#{prefix}} |
