duti: apply patch for Monterey

Taken from moretension/duti#49.

See also Homebrew/discussions#2350.

Closes #88154.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Carlo Cabrera 2021-10-28 01:10:04 +08:00 committed by BrewTestBot
parent a0dcb92040
commit 6dc7b32010
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 7 additions and 1 deletions

View File

@ -35,8 +35,14 @@ class Duti < Formula
sha256 "7c90efd1606438f419ac2fa668c587f2a63ce20673c600ed0c45046fd8b14ea6" sha256 "7c90efd1606438f419ac2fa668c587f2a63ce20673c600ed0c45046fd8b14ea6"
end end
# Fix compilation on Monterey
patch do
url "https://github.com/moretension/duti/commit/ec195e261f8a48a1a18e262a2b1f0ef26a0bc1ee.patch?full_index=1"
sha256 "dec21aeea7f31c1a2122a01b44c13539af48840b181a80cecb4653591a9b0f9d"
end
def install def install
system "autoreconf", "-vfi" system "autoreconf", "--force", "--install", "--verbose"
system "./configure", "--prefix=#{prefix}" system "./configure", "--prefix=#{prefix}"
system "make", "install" system "make", "install"
end end