From 5d22575b1b63155ef104f74351e169ed8f3e4afb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 8 Apr 2015 14:17:13 +0000 Subject: [PATCH] mksysinfo.sh: Define Solaris zone_net_addr_t struct. From Rainer Orth. From-SVN: r221920 --- libgo/mksysinfo.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index a977f56937b..c2e7c24974a 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -1273,4 +1273,9 @@ if ! grep 'const SizeofICMPv6Filter ' ${OUT} >/dev/null 2>&1; then echo 'const SizeofICMPv6Filter = 32' >> ${OUT} fi +# The Solaris 11 Update 1 _zone_net_addr_t struct. +grep '^type _zone_net_addr_t ' gen-sysinfo.go | \ + sed -e 's/_in6_addr/[16]byte/' \ + >> ${OUT} + exit $? -- 2.30.2