diff --git a/Formula/p/plank.rb b/Formula/p/plank.rb index c2c7c2c122f2f..0e6212e5e38b1 100644 --- a/Formula/p/plank.rb +++ b/Formula/p/plank.rb @@ -26,6 +26,12 @@ class Plank < Formula depends_on xcode: ["11.3", :build] + # fix build failures, upstream pr ref, https://github.com/pinterest/plank/pull/301 + patch do + url "https://raw.githubusercontent.com/Homebrew/formula-patches/65b5a59920d2e06d62ce7fa0a9d7a6fcc72aa23d/plank/1.6.patch" + sha256 "782de4c235f03d5997c88506cd02e1cf97e5793fecf0e3bbff25d62f5393412a" + end + def install system "make", "install", "PREFIX=#{prefix}" end