aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:22 -0500
committerJack Nagel2014-03-16 22:57:28 -0500
commitd2a7e73a39c15962116a6c0041c1f1f809283619 (patch)
treeb6707c28e14581976c4c3b71f834e92da8f2da87 /Library/Formula
parent82d02e71bc9b86513c621ec94e87c6b316716c7f (diff)
downloadhomebrew-d2a7e73a39c15962116a6c0041c1f1f809283619.tar.bz2
open-babel: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/open-babel.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/open-babel.rb b/Library/Formula/open-babel.rb
index 8eddd0fdd..7a2c260a8 100644
--- a/Library/Formula/open-babel.rb
+++ b/Library/Formula/open-babel.rb
@@ -16,8 +16,9 @@ class OpenBabel < Formula
depends_on 'eigen' if build.with?('python') || build.with?('java')
# Patch to fix Molecule.draw() in pybel in accordance with upstream commit df59c4a630cf753723d1318c40479d48b7507e1c
- def patches
- "https://gist.github.com/fredrikw/5858168/raw/e4b5899e781d5707f5c386e436b5fc7810f2010d/ob-2-3-2-patch.diff"
+ patch do
+ url "https://gist.github.com/fredrikw/5858168/raw/e4b5899e781d5707f5c386e436b5fc7810f2010d/ob-2-3-2-patch.diff"
+ sha1 "e304c308b39a465b632b397aa669c26f4b375da1"
end
def install