aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 20:21:16 -0500
committerJack Nagel2014-03-19 20:43:54 -0500
commit17bddb53ff7056276663ca6b72c5e3ee929a5a01 (patch)
tree5f96c0b7ae97c3cb48be269d8c2ee444e8465634 /Library/Formula
parente3d0ea2e6ed2bac255d5fa229eb65b9178781db5 (diff)
downloadhomebrew-17bddb53ff7056276663ca6b72c5e3ee929a5a01.tar.bz2
nzbget: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nzbget.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/nzbget.rb b/Library/Formula/nzbget.rb
index 4fdf5ab52..a13dde3bd 100644
--- a/Library/Formula/nzbget.rb
+++ b/Library/Formula/nzbget.rb
@@ -5,9 +5,10 @@ class Libpar2 < Formula
url 'https://downloads.sourceforge.net/project/parchive/libpar2/0.2/libpar2-0.2.tar.gz'
sha1 '4b3da928ea6097a8299aadafa703fc6d59bdfb4b'
- def patches
- # Patch libpar2 - bugfixes and ability to cancel par2 repair
- "https://gist.github.com/raw/4576230/e722f2113195ee9b8ee67c1c424aa3f2085b1066/libpar2-0.2-nzbget.patch"
+ # Bugfixes and ability to cancel par2 repair
+ patch do
+ url "https://gist.github.com/raw/4576230/e722f2113195ee9b8ee67c1c424aa3f2085b1066/libpar2-0.2-nzbget.patch"
+ sha1 "0dca03f42c0997fd6b537a7dc539d705afb76157"
end
end