faac 1.29.9.2

upstream added a backwards compatibility alias for allowMidside

Fixes #20317.

Closes #20626.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-11-14 07:00:42 -08:00
parent fe9620bd82
commit 69eb8e07d6

View file

@ -1,8 +1,8 @@
class Faac < Formula
desc "ISO AAC audio encoder"
homepage "http://www.audiocoding.com/faac.html"
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.29/faac-1.29.9.tar.gz"
sha256 "238cb4453b6fe4eebaffb326e40a63786a155e349955c4259925006fa1e2839e"
url "https://downloads.sourceforge.net/project/faac/faac-src/faac-1.29/faac-1.29.9.2.tar.gz"
sha256 "d45f209d837c49dae6deebcdd87b8cc3b04ea290880358faecf5e7737740c771"
bottle do
cellar :any
@ -12,10 +12,6 @@ class Faac < Formula
end
def install
# Fix "error: initializer element is not a compile-time constant"
# Reported 2 Nov 2017 https://sourceforge.net/p/faac/bugs/228/
inreplace "libfaac/stereo.c", "sqrt(2)", "M_SQRT2"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"