Files
pkgsrc-ng/lang/go14/patches/patch-src_runtime_cgo_setenv.c
2016-01-21 23:42:40 +01:00

16 lines
536 B
C

$NetBSD: patch-src_runtime_cgo_setenv.c,v 1.1 2015/07/31 14:46:25 bsiegert Exp $
Support cgo on illumos.
--- src/runtime/cgo/setenv.c.orig 2014-12-11 01:18:12.000000000 +0000
+++ src/runtime/cgo/setenv.c
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build darwin dragonfly freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris
#pragma cgo_import_static x_cgo_setenv
#pragma cgo_import_static x_cgo_unsetenv