pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go14 go14: Don't set broken _XOPEN_SOURCE on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a51ee811c60
branches: trunk
changeset: 370572:9a51ee811c60
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Oct 19 14:29:01 2017 +0000
description:
go14: Don't set broken _XOPEN_SOURCE on SunOS.
diffstat:
lang/go14/distinfo | 3 ++-
lang/go14/patches/patch-include_u.h | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 2bd082383134 -r 9a51ee811c60 lang/go14/distinfo
--- a/lang/go14/distinfo Thu Oct 19 13:59:01 2017 +0000
+++ b/lang/go14/distinfo Thu Oct 19 14:29:01 2017 +0000
@@ -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 -r 2bd082383134 -r 9a51ee811c60 lang/go14/patches/patch-include_u.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go14/patches/patch-include_u.h Thu Oct 19 14:29:01 2017 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index