acmetool: fix build
This commit is contained in:
parent
a89d3da794
commit
5d923ec84d
12
srcpkgs/acmetool/patches/fix-uuid-build.patch
Normal file
12
srcpkgs/acmetool/patches/fix-uuid-build.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- storage/types.go.orig 2018-01-11 08:57:49.339089353 +0100
|
||||
+++ storage/types.go 2018-01-11 08:58:12.707027749 +0100
|
||||
@@ -194,7 +194,8 @@ func (tgt *Target) ensureFilename() {
|
||||
nprefix = tgt.Satisfy.Names[0] + "-"
|
||||
}
|
||||
|
||||
- b := uuid.NewV4().Bytes()
|
||||
+ u, _ := uuid.NewV4()
|
||||
+ b := u.Bytes()
|
||||
str := strings.ToLower(strings.TrimRight(base32.StdEncoding.EncodeToString(b), "="))
|
||||
|
||||
tgt.Filename = nprefix + str
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'acmetool'
|
||||
pkgname=acmetool
|
||||
version=0.0.62
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="acme-${version}"
|
||||
build_style=go
|
||||
go_import_path=github.com/hlandau/acme
|
||||
|
Loading…
x
Reference in New Issue
Block a user