erlang: 10.13 boringssl fix

This commit is contained in:
Mark Madsen 2017-07-05 00:46:16 -06:00 committed by ilovezfs
parent 0d43c8edb2
commit f0d741cece

View file

@ -42,6 +42,16 @@ class Erlang < Formula
sha256 "1ab25110b148ce263d6e68cd5a3b912299b6066cfcd9d2fce416a4e9b7d2543a" sha256 "1ab25110b148ce263d6e68cd5a3b912299b6066cfcd9d2fce416a4e9b7d2543a"
end end
# Check if this patch can be removed when OTP 20.1 is released.
# Erlang will crash on macOS 10.13 any time the crypto lib is used.
# The Erlang team has an open PR for the patch but it needs to be applied to
# older releases. See https://github.com/erlang/otp/pull/1501 and
# https://bugs.erlang.org/browse/ERL-439 for additional information.
patch do
url "https://github.com/erlang/otp/pull/1501.patch?full_index=1"
sha256 "e449d698a82e07eddfd86b5b06a0b4ab8fb4674cb72fc6ab037aa79b096f0a12"
end
def install def install
# Unset these so that building wx, kernel, compiler and # Unset these so that building wx, kernel, compiler and
# other modules doesn't fail with an unintelligable error. # other modules doesn't fail with an unintelligable error.