mono: Fix compile/runtime error on El Cap Beta 3

This fixes the error "could not discover the mach TLS offset" which
prohibits both running and compiling mono on OS X 10.11 (15A216g).

The patch was backported from current mono/mono master. Because the
problem also affects binaries compiled before upgrading to El Capitan
the patch is *not* scoped to `MacOS.version >= :el_capitan`.

Closes Homebrew/homebrew#41537.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Felix Bünemann 2015-07-11 05:38:28 +02:00 committed by Mike McQuaid
parent 63f649f94f
commit 3ad56f6652

View file

@ -14,6 +14,14 @@ class Mono < Formula
sha256 "80bddaefcd9c136bc763797cff98f3aa07ec758e348037fd24f07d2b1b795fbb" => :mountain_lion
end
# Fix compile and runtime error on OS X 10.11 Beta 3
# https://github.com/mono/mono/pull/1919
# https://bugzilla.xamarin.com/show_bug.cgi?id=31761
patch do
url "https://github.com/mono/mono/pull/1919.diff"
sha256 "53c39c2145027fdf1a2233e12bd96da2c1164e1422e631cdb50598910b39a020"
end
resource "monolite" do
url "http://storage.bos.xamarin.com/mono-dist-4.0.0-release/c1/c1b37f29b1a439acf7ef42a384550ab1dca5295a/monolite-117-latest.tar.gz"
sha256 "a3bd1c826186e4896193ad1f909bf8756f66f62d1e249fe301b10bc80ebe0795"