diff options
| author | Jack Nagel | 2014-03-14 16:24:11 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-14 16:24:11 -0500 |
| commit | 95d73281a30abad888a5afff961440927f094388 (patch) | |
| tree | 98858900b11da2159e58f530f12806df6a6fc279 /Library/Formula | |
| parent | ce6a0e6eb53f096539202497ef9fb290e33f1b2f (diff) | |
| download | homebrew-95d73281a30abad888a5afff961440927f094388.tar.bz2 | |
unrtf: use checksummed patches
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/unrtf.rb | 7 |
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 |
