valgrind: apply Snow Leopard patch

Closes Homebrew/homebrew#27289.
master
Adam Vandenberg 2014-04-08 08:25:45 -07:00
parent 4fa3108521
commit 7148e13d6c
1 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,12 @@ class Valgrind < Formula
sha1 "22819a4a02140974e6330f3521b240b68f1619d7"
end if MacOS.version == :mavericks
# Fix for Snow Leopard from MacPorts
patch :p0 do
url "https://trac.macports.org/export/118697/trunk/dports/devel/valgrind/files/patch-compat-snowleo.diff"
sha1 "ca22f4d49cfc9ea87469c2138b86c71f4b6b4d4d"
end
def install
args = %W[
--disable-dependency-tracking