summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-10-19 14:29:01 +0000
committerjperkin <jperkin@pkgsrc.org>2017-10-19 14:29:01 +0000
commit10cc1d03dcd311550f56af78cf53ba835f4d3646 (patch)
treefb1238c30ef8c7fa8c19366bb30dfe8b46791cb8 /lang
parentcd9e70b3524bd2186405654e3158866147838ff8 (diff)
downloadpkgsrc-10cc1d03dcd311550f56af78cf53ba835f4d3646.tar.gz
go14: Don't set broken _XOPEN_SOURCE on SunOS.
Diffstat (limited to 'lang')
-rw-r--r--lang/go14/distinfo3
-rw-r--r--lang/go14/patches/patch-include_u.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/go14/distinfo b/lang/go14/distinfo
index 1f5ac8d2b17..328e8fd0ba6 100644
--- a/lang/go14/distinfo
+++ b/lang/go14/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.7 2016/10/04 18:45:22 bsiegert Exp $
+$NetBSD: distinfo,v 1.8 2017/10/19 14:29:01 jperkin Exp $
SHA1 (go1.4.3.src.tar.gz) = 486db10dc571a55c8d795365070f66d343458c48
RMD160 (go1.4.3.src.tar.gz) = b1fbb2805a777c8107e7c946f36a881303ac5e35
SHA512 (go1.4.3.src.tar.gz) = 12bade4bce9aa4b34e2b9495ae65a1fc6a2449b3a43bc4de85c8b87ba223c2f999b2f37c1e2fe1188d8521118b5e5357d27afb8b85c0b8ebb4503d4125d25273
Size (go1.4.3.src.tar.gz) = 10875170 bytes
SHA1 (patch-doc_progs_run) = 5a29fe4f91defb2e20d192850601df7cbabdac7c
+SHA1 (patch-include_u.h) = 383edac7075b0824de496a45cdecaf57fc68b282
SHA1 (patch-misc_cgo_test_cthread__unix.c) = a63f08f07713bd32e279315cca21235101ce9cd3
SHA1 (patch-misc_cgo_testso_cgoso.go) = ef782a6f173c814656eac0df640aedaa1a923bbc
SHA1 (patch-misc_cgo_testso_cgoso__unix.go) = 58e221e1ce123428a3fe6ecededf0590cbfb81ca
diff --git a/lang/go14/patches/patch-include_u.h b/lang/go14/patches/patch-include_u.h
new file mode 100644
index 00000000000..17e4a0bb040
--- /dev/null
+++ b/lang/go14/patches/patch-include_u.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_u.h,v 1.1 2017/10/19 14:29:01 jperkin Exp $
+
+Don't set broken _XOPEN_SOURCE on SunOS.
+
+--- include/u.h.orig 2015-09-23 04:37:36.000000000 +0000
++++ include/u.h
+@@ -42,7 +42,7 @@ extern "C" {
+ #define _NETBSD_SOURCE 1 /* NetBSD */
+ #define _DEFAULT_SOURCE 1 /* glibc > 2.19 */
+ #define _SVID_SOURCE 1
+-#if !defined(__APPLE__) && !defined(__OpenBSD__)
++#if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__sun)
+ # define _XOPEN_SOURCE 1000
+ # define _XOPEN_SOURCE_EXTENDED 1
+ #endif