diff options
| author | Jack Nagel | 2014-03-16 21:35:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-16 23:09:22 -0500 |
| commit | 0d651edb8db778bdbfe16514ae0c6f4cd999be3e (patch) | |
| tree | ff9f5b3076474b0f0b2dbafb044980548403caba /Library/Formula | |
| parent | 9b504dcf1d476d5d53910d9854970485c09ba3b3 (diff) | |
| download | homebrew-0d651edb8db778bdbfe16514ae0c6f4cd999be3e.tar.bz2 | |
unac: use checksummed patches
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/unac.rb | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/Library/Formula/unac.rb b/Library/Formula/unac.rb index ef3a47fbf..0055f7ba4 100644 --- a/Library/Formula/unac.rb +++ b/Library/Formula/unac.rb @@ -12,15 +12,21 @@ class Unac < Formula depends_on 'libtool' => :build depends_on 'gettext' => :build - def patches - { - :p0 => [ - "http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=patch-libunac1.txt;att=1;bug=623340", - "http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=patch-unaccent.c.txt;att=1;bug=623340"], - :p1 => [ - "http://ftp.de.debian.org/debian/pool/main/u/unac/unac_1.8.0-6.diff.gz", - DATA] - } + patch :DATA + + patch :p0 do + url "http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=patch-libunac1.txt;att=1;bug=623340" + sha1 "5b273127609b98092b8f3bb1b4c3e9f137968151" + end + + patch :p0 do + url "http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=patch-unaccent.c.txt;att=1;bug=623340" + sha1 "689a1f32cdf08e3dab04bef1605666e4288ae64e" + end + + patch do + url "http://ftp.de.debian.org/debian/pool/main/u/unac/unac_1.8.0-6.diff.gz" + sha1 "ed44c7dd2a093a970be51f19dfd1da396b08797e" end def install |
