From d7fb9ccf290ecad90d5f4e1de72da96a2bf2351b Mon Sep 17 00:00:00 2001 From: commitay Date: Tue, 24 Apr 2018 13:23:12 +1000 Subject: [PATCH] pianobar: revision for ffmpeg also patch deprecated header Fixes #26982 Closes #27008. Signed-off-by: commitay --- Formula/pianobar.rb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Formula/pianobar.rb b/Formula/pianobar.rb index bf8fb4d8f9..56db402ca7 100644 --- a/Formula/pianobar.rb +++ b/Formula/pianobar.rb @@ -1,10 +1,21 @@ class Pianobar < Formula desc "Command-line player for https://pandora.com" homepage "https://github.com/PromyLOPh/pianobar/" - url "https://6xq.net/pianobar/pianobar-2017.08.30.tar.bz2" - sha256 "ec14db6cf1a7dbc1d8190b5ca0d256021e970587bcdaeb23904d4bca71a04674" + revision 1 head "https://github.com/PromyLOPh/pianobar.git" + stable do + url "https://6xq.net/pianobar/pianobar-2017.08.30.tar.bz2" + sha256 "ec14db6cf1a7dbc1d8190b5ca0d256021e970587bcdaeb23904d4bca71a04674" + + # Remove for > 2017.08.30 + # Upstream commit from 17 Apr 2018: "Remove deprecated header avfiltergraph.h" + patch do + url "https://github.com/PromyLOPh/pianobar/commit/38b16f9957a7bad74e337100b497ffc04ceb9a54.diff?full_index=1" + sha256 "521152c24d63242062dc48c28b7489a540ebcd8a98b0c99c29408e0b58c587fa" + end + end + bottle do cellar :any sha256 "e4d59eee9e6d6d6b78b5bd2541a7faa23beda9edbe9179678cb46ca006e616f0" => :high_sierra