SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
lang/go/patches/patch-src_syscall_exec_unix_go
Normal file
12
lang/go/patches/patch-src_syscall_exec_unix_go
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/syscall/exec_unix.go
|
||||
--- src/syscall/exec_unix.go.orig
|
||||
+++ src/syscall/exec_unix.go
|
||||
@@ -293,7 +293,7 @@ func Exec(argv0 string, argv []string, envv []string)
|
||||
} else if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
|
||||
// Similarly on Darwin.
|
||||
err1 = execveDarwin(argv0p, &argvp[0], &envvp[0])
|
||||
- } else if runtime.GOOS == "openbsd" && (runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") {
|
||||
+ } else if runtime.GOOS == "openbsd" {
|
||||
// Similarly on OpenBSD.
|
||||
err1 = execveOpenBSD(argv0p, &argvp[0], &envvp[0])
|
||||
} else {
|
Loading…
Add table
Add a link
Reference in a new issue