cdparanoia: add linux-only patch (#66375)

master
Seeker 2020-12-07 03:10:45 -08:00 committed by GitHub
parent fa6f61e93d
commit 1b721d48f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 3 deletions

View File

@ -19,9 +19,18 @@ class Cdparanoia < Formula
depends_on "autoconf" => :build
# Patches via MacPorts
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/2a22152/cdparanoia/osx_interface.patch"
sha256 "3eca8ff34d2617c460056f97457b5ac62db1983517525e5c73886a2dea9f06d9"
on_macos do
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/2a22152/cdparanoia/osx_interface.patch"
sha256 "3eca8ff34d2617c460056f97457b5ac62db1983517525e5c73886a2dea9f06d9"
end
end
on_linux do
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/bfad134/cdparanoia/linux_fpic.patch"
sha256 "496f53d21dde7e23f4c9cf1cc28219efcbb5464fe2abbd5a073635279281c9c4"
end
end
def install