pkgsrc/lang/go110/patches/patch-src_syscall_zsysnum__solaris__amd64.go
bsiegert 714330096e Add a versioned Go 1.10 package as lang/go110.
This uses a similar approach as go111. Its revision is one higher than
the existing lang/go.

Next steps:
 - make builds use this for dependent packages
 - delete lang/go to complete the move
2018-09-18 20:52:11 +00:00

14 lines
391 B
Go

$NetBSD: patch-src_syscall_zsysnum__solaris__amd64.go,v 1.1 2018/09/18 20:52:11 bsiegert Exp $
SunOS does have SYS_ioctl.
--- src/syscall/zsysnum_solaris_amd64.go.orig 2018-08-24 19:33:36.000000000 +0000
+++ src/syscall/zsysnum_solaris_amd64.go
@@ -8,6 +8,7 @@ package syscall
// TODO(aram): remove these before Go 1.3.
const (
+ SYS_IOCTL = 54
SYS_EXECVE = 59
SYS_FCNTL = 62
)