Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmp: add patch for macOS 12 beta 6 crashes provided by upstream #84728

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Formula/gmp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Gmp < Formula
mirror "https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz"
sha256 "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2"
license any_of: ["LGPL-3.0-or-later", "GPL-2.0-or-later"]
revision 1

livecheck do
url "https://gmplib.org/download/gmp/"
Expand All @@ -22,6 +23,12 @@ class Gmp < Formula

uses_from_macos "m4" => :build

# Prevent crash on macOS 12 betas with release gmp 6.2.1, can be removed after the next gmp release.
patch do
url "https://gmplib.org/repo/gmp/raw-rev/5f32dbc41afc"
sha256 "a44ef57903b240df6fde6c9d2fe40063f785995c43b6bfc7a237c571f53613e0"
end

def install
args = std_configure_args
args << "--enable-cxx"
Expand Down