diff --git a/Formula/pacparser.rb b/Formula/pacparser.rb index 63054c6b96cbe..4d918526fe7a9 100644 --- a/Formula/pacparser.rb +++ b/Formula/pacparser.rb @@ -3,7 +3,7 @@ class Pacparser < Formula homepage "https://github.com/pacparser/pacparser" url "https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz" sha256 "575c5d8096b4c842b2af852bbb8bcfde96170b28b49f33249dbe2057a8beea13" - license "LGPL-3.0" + license "LGPL-3.0-or-later" head "https://github.com/pacparser/pacparser.git" bottle do @@ -16,6 +16,12 @@ class Pacparser < Formula sha256 "719e5eadacf71e3a2e863447609322c45f3be3a9d3ee63373c05a9a2ae7f31b8" => :sierra end + # Fix build for MacOS 11.1 + patch do + url "https://github.com/manugarg/pacparser/commit/28afea85c7578d033132f3817b62d3bb707cc3a3.patch?full_index=1" + sha256 "52fc5b276caf6e95a3ae4ac21e75c9751daaf429f344fdc6b62c85de4aa40d48" + end + def install # Disable parallel build due to upstream concurrency issue. # https://github.com/pacparser/pacparser/issues/27