Skip to content

Commit

Permalink
go: don't patch HEAD installs
Browse files Browse the repository at this point in the history
The patch was inserting an extra case statement, but a duplicate case
statement is already included in HEAD (and devel).

Closes Homebrew/legacy-homebrew#23787.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
adzenith authored and MikeMcQuaid committed Oct 30, 2013
1 parent afd4c5a commit 5268106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/go.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Go < Formula
# Upstream patch for a switch statement that causes a clang error
# Should be in the next release.
# http://code.google.com/p/go/source/detail?r=000ecca1178d67c9b482d3fb0b6a1bc4aeef2472&path=/src/cmd/ld/lib.c
def patches; DATA; end unless build.devel?
def patches; DATA; end unless build.devel? or build.head?

def install
# For Clang cgo support Go needs to be able to tell through CC.
Expand Down

0 comments on commit 5268106

Please sign in to comment.