aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:21 -0500
committerJack Nagel2014-03-16 21:35:21 -0500
commit0aa263d016f472378a9a042ea77a071cf3bc1825 (patch)
tree34a4d4493f8a88876178eaa66f727157a5c6c41d /Library/Formula
parente2ae7495d2219a03421ca5f1ff4dc77d932f1957 (diff)
downloadhomebrew-0aa263d016f472378a9a042ea77a071cf3bc1825.tar.bz2
minidlna: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/minidlna.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/minidlna.rb b/Library/Formula/minidlna.rb
index 12b785a0b..de0842b1c 100644
--- a/Library/Formula/minidlna.rb
+++ b/Library/Formula/minidlna.rb
@@ -15,11 +15,9 @@ class Minidlna < Formula
depends_on 'sqlite'
depends_on 'ffmpeg'
- def patches
- [
- # From http://sourceforge.net/p/minidlna/patches/104/
- "http://sourceforge.net/p/minidlna/patches/104/attachment/0001-Remove-check-for-getifaddr-returning-IFF_SLAVE-if-IF.patch",
- ]
+ patch do
+ url "http://sourceforge.net/p/minidlna/patches/104/attachment/0001-Remove-check-for-getifaddr-returning-IFF_SLAVE-if-IF.patch"
+ sha1 "768b119a59c803af4d074138b70b245aa72e426f"
end
def install