From 0aa263d016f472378a9a042ea77a071cf3bc1825 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:21 -0500 Subject: minidlna: use checksummed patches --- Library/Formula/minidlna.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3