aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 16:24:11 -0500
committerJack Nagel2014-03-14 16:24:11 -0500
commit95d73281a30abad888a5afff961440927f094388 (patch)
tree98858900b11da2159e58f530f12806df6a6fc279 /Library/Formula
parentce6a0e6eb53f096539202497ef9fb290e33f1b2f (diff)
downloadhomebrew-95d73281a30abad888a5afff961440927f094388.tar.bz2
unrtf: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unrtf.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/unrtf.rb b/Library/Formula/unrtf.rb
index 5c54ce076..f826cd6bc 100644
--- a/Library/Formula/unrtf.rb
+++ b/Library/Formula/unrtf.rb
@@ -8,10 +8,9 @@ class Unrtf < Formula
# Per MacPorts, add a return value to fix compiling with clang, and fix
# a bad memory access.
- def patches
- { :p0 => [
- "https://trac.macports.org/export/94428/trunk/dports/textproc/unrtf/files/patch-src-attr.c.diff"
- ]}
+ patch :p0 do
+ url "https://trac.macports.org/export/94428/trunk/dports/textproc/unrtf/files/patch-src-attr.c.diff"
+ sha1 "8a6a111373d6bf18750bbb5bf2d91383ac6aa584"
end
def install