pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/go lang/go: Add SYS_IOCTL on SunOS. Bump PKGREVIS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37c37abeba17
branches:  trunk
changeset: 312790:37c37abeba17
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Sep 14 09:24:30 2018 +0000

description:
lang/go: Add SYS_IOCTL on SunOS. Bump PKGREVISION.

diffstat:

 lang/go/Makefile                                             |   3 +-
 lang/go/distinfo                                             |   3 +-
 lang/go/patches/patch-src_syscall_zsysnum__solaris__amd64.go |  14 ++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r d6f9e919949e -r 37c37abeba17 lang/go/Makefile
--- a/lang/go/Makefile  Fri Sep 14 09:02:12 2018 +0000
+++ b/lang/go/Makefile  Fri Sep 14 09:24:30 2018 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.66 2018/08/27 15:01:09 bsiegert Exp $
+# $NetBSD: Makefile,v 1.67 2018/09/14 09:24:30 fhajny Exp $
 
 .include "version.mk"
 
 DISTNAME=      go${GO_VERSION}.src
 PKGNAME=       go-${GO_VERSION}
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  https://storage.googleapis.com/golang/
 EXTRACT_USING= bsdtar
diff -r d6f9e919949e -r 37c37abeba17 lang/go/distinfo
--- a/lang/go/distinfo  Fri Sep 14 09:02:12 2018 +0000
+++ b/lang/go/distinfo  Fri Sep 14 09:24:30 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2018/08/27 15:01:09 bsiegert Exp $
+$NetBSD: distinfo,v 1.63 2018/09/14 09:24:30 fhajny Exp $
 
 SHA1 (go1.10.4.src.tar.gz) = adcd9d0bbbc764fa4ff20c08eb4a5a527fa95d96
 RMD160 (go1.10.4.src.tar.gz) = a42ae4d0b21e8ceb500ca10a590f16b0811c7a4e
@@ -9,3 +9,4 @@
 SHA1 (patch-src_cmd_link_internal_ld_elf.go) = 7afd0da4734f201c8b885b743e83e5b70ddb0bf0
 SHA1 (patch-src_crypto_x509_root__bsd.go) = 93a2de7c685a0919fe93f5bc99f156e105dace4d
 SHA1 (patch-src_runtime_os__netbsd.go) = 9b80de94667e3f8d8d1ae3648ab1fe43dd55d577
+SHA1 (patch-src_syscall_zsysnum__solaris__amd64.go) = ec28a0fa37ba9599ec1651c8e9337a2efc48a26b
diff -r d6f9e919949e -r 37c37abeba17 lang/go/patches/patch-src_syscall_zsysnum__solaris__amd64.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go/patches/patch-src_syscall_zsysnum__solaris__amd64.go      Fri Sep 14 09:24:30 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_syscall_zsysnum__solaris__amd64.go,v 1.1 2018/09/14 09:24:30 fhajny 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
+ )



Home | Main Index | Thread Index | Old Index