From 5268106c636e75fcf2ced5bd1d08e84f37489f55 Mon Sep 17 00:00:00 2001 From: Nikolaus Wittenstein Date: Wed, 30 Oct 2013 11:33:47 -0400 Subject: [PATCH] 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 Homebrew/homebrew#23787. Signed-off-by: Mike McQuaid --- Formula/go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/go.rb b/Formula/go.rb index 2996be2c39..06c328729f 100644 --- a/Formula/go.rb +++ b/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.