diff options
| author | Jack Nagel | 2014-03-19 10:33:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 10:33:45 -0500 |
| commit | bd3f9b9c537e37e516610627d0a1a7e8ce814952 (patch) | |
| tree | 01fb2dfde595301ed2f7149e38d74a74795ed8fb /Library | |
| parent | cd776d6be63583e4575cae96186c23cc3b2b3307 (diff) | |
| download | homebrew-bd3f9b9c537e37e516610627d0a1a7e8ce814952.tar.bz2 | |
ecasound 2.9.1
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ecasound.rb | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/Library/Formula/ecasound.rb b/Library/Formula/ecasound.rb index 26f7cccdf..e16e49117 100644 --- a/Library/Formula/ecasound.rb +++ b/Library/Formula/ecasound.rb @@ -2,22 +2,11 @@ require 'formula' class Ecasound < Formula homepage 'http://www.eca.cx/ecasound/' - url 'http://ecasound.seul.org/download/ecasound-2.9.0.tar.gz' - sha1 'aed604742968085a8e95cdebb21dc62f1d90d2b5' + url 'http://ecasound.seul.org/download/ecasound-2.9.1.tar.gz' + sha1 '048fc2487deb3c94d92814b54255435b2acee1d8' option "with-ruby", "Compile with ruby support" - # 2.9.0 uses clock_gettime which is not available on OS X, patch upstream: - # http://sourceforge.net/p/ecasound/code/ci/6524048e0717dfbbf7e243edb5b96b40e5983782/tree/kvutils/kvu_threads.cpp?diff=4db2d070691fbabf6af47c68f054a9efcb6d8d47 - patch :DATA - - fails_with :clang do - build 500 - cause <<-EOS.undent - clang does not like the fstream imports ecasound uses. - EOS - end - def install args = %W[ --disable-debug @@ -29,23 +18,3 @@ class Ecasound < Formula system "make install" end end - -__END__ ---- a/kvutils/kvu_threads.cpp -+++ b/kvutils/kvu_threads.cpp -@@ -122,8 +122,15 @@ - #endif - } - else { -+#if defined(CLOCK_REALTIME) - res = clock_gettime(CLOCK_REALTIME, out); - out->tv_sec += seconds; -+#else -+ struct timeval tv; -+ res = gettimeofday(&tv, NULL); -+ out->tv_sec = tv.tv_sec + seconds; -+ out->tv_nsec = tv.tv_usec * 1000; -+#endif - } - - return res; |
