go: backport extra DWARF patch

This commit is contained in:
Misty De Meo 2019-06-24 08:36:23 -07:00
parent 552c5a7b7d
commit c8e9eae53e
No known key found for this signature in database
GPG key ID: 76CF846A2F674B2C

View file

@ -46,6 +46,16 @@ class Go < Formula
sha256 "25a361bd4aa1155be06e2239c1974aa9c59f971210f19e16a3b7b576b9d4f677"
end
patch do
url "https://github.com/golang/go/commit/0fe1986a72ea578390d4909988a1d7cb3a687544.patch?full_index=1"
sha256 "320c11208313fc74e0bba7f323791416e5316451b109c440f56be361df8306ea"
end
patch do
url "https://github.com/golang/go/commit/3f1422c799edb143303c86c0e875d44c3612df64.patch?full_index=1"
sha256 "d071f0415cd2712cbed373682c4a84661147df1aabf38bbc0f3179532a988a4f"
end
def install
(buildpath/"gobootstrap").install resource("gobootstrap")
ENV["GOROOT_BOOTSTRAP"] = buildpath/"gobootstrap"