From b779803a9c7b5f638776127688fbdc0b280ed372 Mon Sep 17 00:00:00 2001 From: Alexandre Fiori Date: Wed, 7 Dec 2011 01:36:31 -0500 Subject: [PATCH] mediatomb: bugfix for recent libav/ffmpeg See https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/784431 for details. Closes Homebrew/homebrew#9016. Signed-off-by: Adam Vandenberg --- Formula/mediatomb.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Formula/mediatomb.rb b/Formula/mediatomb.rb index 07491cd90ae..00cf1b7da02 100644 --- a/Formula/mediatomb.rb +++ b/Formula/mediatomb.rb @@ -1,10 +1,17 @@ require 'formula' class Mediatomb < Formula - url 'http://downloads.sourceforge.net/mediatomb/mediatomb-0.12.1.tar.gz' homepage 'http://mediatomb.cc' + url 'http://downloads.sourceforge.net/mediatomb/mediatomb-0.12.1.tar.gz' md5 'e927dd5dc52d3cfcebd8ca1af6f0d3c2' + # This is for libav 0.7 support. See: + # https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/784431 + # http://sourceforge.net/tracker/?func=detail&aid=3291062&group_id=129766&atid=715780 + def patches + "https://launchpadlibrarian.net/71985647/libav_0.7_support.patch" + end + def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"