~alpine/aports

community/go: Install time zone database distributed with Go v1 PROPOSED

Brett Buddin: 1
 community/go: Install time zone database distributed with Go

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/54/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] community/go: Install time zone database distributed with Go Export this patch

This fixes time zone lookups using the `time.LoadLocation` function by
ensuring that the time zone database distributed with Go
($GOROOT/lib/time/zoneinfo.zip) is installed.  You can find more
information about this file here:
https://golang.org/pkg/time/#LoadLocation
---
 community/go/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/community/go/APKBUILD b/community/go/APKBUILD
index ca37936..6eef0b9 100644
--- a/community/go/APKBUILD
+++ b/community/go/APKBUILD
@@ -87,7 +87,7 @@ package() {
	# bug (https://github.com/golang/go/issues/2775).
	# When this is resolved we can split out the source to a
	# go-doc sub package.
	cp -a pkg src "$pkgdir"/usr/lib/go || return 1
	cp -a pkg src lib "$pkgdir"/usr/lib/go || return 1
	cp -r doc misc "$pkgdir"/usr/share/doc/go || return 1

	# Remove tests from /usr/lib/go/src.
-- 
2.8.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---