aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unac.rb24
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