aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-03-31 10:05:24 -0700
committerAdam Vandenberg2010-03-31 10:05:24 -0700
commit43dca30cd97ec0ea525ff45f0031cea4334411fb (patch)
treed3456c8e9ddba3fc8d511be48944f2a98b40e710 /Library/Formula
parenta232beda23491be4924454f772305b58a0d3f22d (diff)
downloadhomebrew-43dca30cd97ec0ea525ff45f0031cea4334411fb.tar.bz2
Update mediatomb to 0.12.0. Fixes #174
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mediatomb.rb27
1 files changed, 5 insertions, 22 deletions
diff --git a/Library/Formula/mediatomb.rb b/Library/Formula/mediatomb.rb
index 9faf27775..e2380299d 100644
--- a/Library/Formula/mediatomb.rb
+++ b/Library/Formula/mediatomb.rb
@@ -1,30 +1,13 @@
require 'formula'
class Mediatomb <Formula
- @url='http://downloads.sourceforge.net/mediatomb/mediatomb-0.11.0.tar.gz'
- @homepage='http://mediatomb.cc'
- @md5='661f08933830d920de21436fe122fb15'
+ url 'http://downloads.sourceforge.net/mediatomb/mediatomb-0.12.0.tar.gz'
+ homepage 'http://mediatomb.cc'
+ md5 'd822a3f33ee109f799d7a6b76d394e05'
- def patches
- DATA
- end
-
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
system "make install"
end
end
-
-__END__
-diff -Naur mediatomb-0.11.0/src/url.cc mediatomb-0.11.0/src/url-patched.cc
---- mediatomb-0.11.0/src/url.cc 2009-09-19 02:37:12.000000000 +0200
-+++ mediatomb-0.11.0/src/url-patched.cc 2009-09-19 02:37:21.000000000 +0200
-@@ -75,7 +75,7 @@
-
- if (only_header)
- {
-- curl_easy_setopt(curl_handle, CURLOPT_NOBODY);
-+ curl_easy_setopt(curl_handle, CURLOPT_NOBODY, 1);
- curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, URL::dl);
- curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA,
- (void *)buffer.getPtr());