From c5dab5f5a488f5ce996f174953f1a92b5acbdd5e Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 6 Mar 2017 15:52:04 -0500 Subject: [PATCH] libav 12 Closes #10655. Signed-off-by: William Woodruff --- Formula/libav.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Formula/libav.rb b/Formula/libav.rb index 6cbf8a3f1e..8329a066f6 100644 --- a/Formula/libav.rb +++ b/Formula/libav.rb @@ -1,9 +1,8 @@ class Libav < Formula desc "Audio and video processing tools" homepage "https://libav.org/" - url "https://libav.org/releases/libav-11.4.tar.xz" - sha256 "0b7dabc2605f3a254ee410bb4b1a857945696aab495fe21b34c3b6544ff5d525" - revision 2 + url "https://libav.org/releases/libav-12.tar.xz" + sha256 "72291ec223b08716fe5204b7b79ea8b90d75003730caa1c575dbf4232277a90e" head "https://git.libav.org/libav.git" @@ -60,11 +59,10 @@ class Libav < Formula depends_on "speex" => :optional depends_on "theora" => :optional - # Fixes the use of a removed identifier in libvpx; - # will be fixed in the next release. + # https://bugzilla.libav.org/show_bug.cgi?id=1033 patch do - url "https://github.com/libav/libav/commit/4d05e9392f84702e3c833efa86e84c7f1cf5f612.patch" - sha256 "78f02e231f3931a6630ec4293994fc6933c6a1c3d1dd501989155236843c47f9" + url "https://raw.githubusercontent.com/Homebrew/formula-patches/b6e917c/libav/Check-for--no_weak_imports-in-ldflags-on-macOS.patch" + sha256 "986d748ba2c7c83319a59d76fbb0dca22dcd51f0252b3d1f3b80dbda2cf79742" end def install