From 22eec326f85b0486daafbc710adc4ed358550aa6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:20 -0500 Subject: lbdb: use checksummed patches --- Library/Formula/lbdb.rb | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3