aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNikolaus Wittenstein2013-10-30 11:33:47 -0400
committerMike McQuaid2013-10-30 09:30:27 -0700
commit38e3b1797af201589cdf0824f5979f1d966b0cd2 (patch)
tree4e23e63d48168b43518c555e3c5bf211e3960787 /Library/Formula
parent0c289d162985cafc387a13d13e11590406e55f72 (diff)
downloadhomebrew-38e3b1797af201589cdf0824f5979f1d966b0cd2.tar.bz2
go: don't patch HEAD installs
The patch was inserting an extra case statement, but a duplicate case statement is already included in HEAD (and devel). Closes #23787. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 2996be2c3..06c328729 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -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.