From ff1081e90043998dba22c6417f072a4b2c9031dc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 30 Oct 2013 09:36:07 -0700 Subject: go: only patch if stable build. --- Library/Formula/go.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index 06c328729..a80b1dbe6 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? or build.head? + def patches; DATA; end if build.stable? def install # For Clang cgo support Go needs to be able to tell through CC. @@ -157,5 +157,5 @@ diff -r 02b673333fab -r 000ecca1178d src/cmd/ld/lib.c + break; } if(!debug['s'] && !debug_s) { - argv[argc++] = "-gdwarf-2"; + argv[argc++] = "-gdwarf-2"; -- cgit v1.2.3