aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 10:03:25 -0500
committerJack Nagel2014-03-14 11:12:00 -0500
commit6a2062622403ab71334dee8d0fcc088984766704 (patch)
treed678609ed95d81676e46b7c673ed1506545f20f6 /Library
parent8828f9ad391a2eca9ee170eb0c2966521dc36776 (diff)
downloadhomebrew-6a2062622403ab71334dee8d0fcc088984766704.tar.bz2
newt: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/newt.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/newt.rb b/Library/Formula/newt.rb
index a2c94543c..e8267d2a7 100644
--- a/Library/Formula/newt.rb
+++ b/Library/Formula/newt.rb
@@ -10,9 +10,14 @@ class Newt < Formula
depends_on 's-lang'
depends_on :python => :optional
- def patches
- { :p0 => [ "https://trac.macports.org/export/111598/trunk/dports/devel/libnewt/files/patch-configure.ac.diff",
- "https://gist.github.com/co-me/6725961/raw/aa8bb06967ad5360eab89e22c1fe15b36bfa06e3/patch-Makefile.in.diff" ] }
+ patch :p0 do
+ url "https://trac.macports.org/export/111598/trunk/dports/devel/libnewt/files/patch-configure.ac.diff"
+ sha1 "d01bd0d8cd2b679c26f0f443bde495a52abe5a4f"
+ end
+
+ patch :p0 do
+ url "https://gist.github.com/co-me/6725961/raw/aa8bb06967ad5360eab89e22c1fe15b36bfa06e3/patch-Makefile.in.diff"
+ sha1 "8cd3b609cd7dffbc2abf00454dcba0a78967bce7"
end
def install