$OpenBSD: patch-libgo_go_debug_proc_proc_openbsd_go,v 1.2 2011/11/19 22:49:36 pascal Exp $
--- libgo/go/debug/proc/proc_openbsd.go.orig	Thu Nov 17 23:37:00 2011
+++ libgo/go/debug/proc/proc_openbsd.go	Thu Nov 17 23:36:44 2011
@@ -0,0 +1,17 @@
+// Copyright 2009 The Go Authors.  All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package proc
+
+import "os"
+
+// Process tracing is not supported on OpenBSD yet.
+
+func Attach(pid int) (Process, os.Error) {
+	return nil, os.NewError("debug/proc not implemented on OpenBSD")
+}
+
+func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []*os.File) (Process, os.Error) {
+	return Attach(0)
+}
