diff options
| author | Jack Nagel | 2014-03-14 10:03:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-14 11:12:00 -0500 |
| commit | 425d9d54502f28259d476bd2426ed8dbcfb5e6fb (patch) | |
| tree | 3ffa6d47e9c0ef9be74bcdf83d2549c5df9b31ce /Library | |
| parent | 6a2062622403ab71334dee8d0fcc088984766704 (diff) | |
| download | homebrew-425d9d54502f28259d476bd2426ed8dbcfb5e6fb.tar.bz2 | |
nvi: use checksummed patches
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nvi.rb | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Library/Formula/nvi.rb b/Library/Formula/nvi.rb index 9b0a85dba..f151a76fb 100644 --- a/Library/Formula/nvi.rb +++ b/Library/Formula/nvi.rb @@ -9,12 +9,19 @@ class Nvi < Formula # Patches per MacPorts # The first corrects usage of BDB flags. - def patches - {:p0 => [ - "https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-common__db.h", - "https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-dist__port.h.in", - "https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-ex_script.c.diff" - ]} + patch :p0 do + url "https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-common__db.h" + sha1 "8c350d51a970b31890ed2b756f7594dc54af3636" + end + + patch :p0 do + url "https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-dist__port.h.in" + sha1 "c710836415f999255e3617256380a4881c2281a8" + end + + patch :p0 do + url "https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-ex_script.c.diff" + sha1 "c70eec15f8e0dbd66777953506ab78dc77150505" end def install |
