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
commit425d9d54502f28259d476bd2426ed8dbcfb5e6fb (patch)
tree3ffa6d47e9c0ef9be74bcdf83d2549c5df9b31ce /Library
parent6a2062622403ab71334dee8d0fcc088984766704 (diff)
downloadhomebrew-425d9d54502f28259d476bd2426ed8dbcfb5e6fb.tar.bz2
nvi: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nvi.rb19
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