aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:20 -0500
committerJack Nagel2014-03-16 21:35:20 -0500
commit22eec326f85b0486daafbc710adc4ed358550aa6 (patch)
tree76e2779471470556d05a16771375e8b09cd23829 /Library/Formula
parent9e7a7a50ddea0f1787a04cb38eff9d14ecb2f81d (diff)
downloadhomebrew-22eec326f85b0486daafbc710adc4ed358550aa6.tar.bz2
lbdb: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lbdb.rb21
1 files changed, 14 insertions, 7 deletions
diff --git a/Library/Formula/lbdb.rb b/Library/Formula/lbdb.rb
index adc39143d..a11aca5bb 100644
--- a/Library/Formula/lbdb.rb
+++ b/Library/Formula/lbdb.rb
@@ -10,14 +10,21 @@ class Lbdb < Formula
head 'https://github.com/tgray/lbdb.git'
- def patches
- p = []
- if MacOS.version >= :mountain_lion
- p << 'https://github.com/chrisbarrett/lbdb/commit/db0440670194568bbfe2137fc063eb30cf26cb2a.diff'
- p << 'https://github.com/chrisbarrett/lbdb/commit/b89ac6ee50e2c03c32635269d9818c045b0abb6f.diff'
- p << 'https://github.com/chrisbarrett/lbdb/commit/6cbef5feb4fd921deb08eb52b4169647909946ae.diff'
+ if MacOS.version >= :mountain_lion
+ patch do
+ url "https://github.com/chrisbarrett/lbdb/commit/db0440670194568bbfe2137fc063eb30cf26cb2a.diff"
+ sha1 "8de0fdcfa5cd73a456b150e19cdad572aa8f0d7c"
+ end
+
+ patch do
+ url "https://github.com/chrisbarrett/lbdb/commit/b89ac6ee50e2c03c32635269d9818c045b0abb6f.diff"
+ sha1 "574268f5d7cce1a6dd26e973ff96787c322597a3"
+ end
+
+ patch do
+ url "https://github.com/chrisbarrett/lbdb/commit/6cbef5feb4fd921deb08eb52b4169647909946ae.diff"
+ sha1 "fe7024dc7576e0d885335a4829edf8dde09b22ea"
end
- p
end
def install