diff options
author | Dmitri Goutnik <dmgk@FreeBSD.org> | 2022-07-17 14:13:56 -0500 |
---|---|---|
committer | Dmitri Goutnik <dmgk@FreeBSD.org> | 2022-07-17 14:18:31 -0500 |
commit | d8128d02c2d62bd28f81020a0747ef03df9168b1 (patch) | |
tree | 5cb199ef05965791299fe21cb69b0df910848581 /security/honeytrap/files | |
parent | sysutils/minikube: Unbreak on i386 (diff) |
security/honeytrap: Unbreak on i386
services/docker/docker.go:405:23: cannot use 16348065792 (untyped int constant) as int value in map literal (overflows)
Make constant literal int64 on all archs.
Reported by: fallout
Approved by: portmgr (blanket, build fix)
Diffstat (limited to 'security/honeytrap/files')
-rw-r--r-- | security/honeytrap/files/patch-services_docker_docker.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/honeytrap/files/patch-services_docker_docker.go b/security/honeytrap/files/patch-services_docker_docker.go new file mode 100644 index 000000000000..aff51f963edd --- /dev/null +++ b/security/honeytrap/files/patch-services_docker_docker.go @@ -0,0 +1,11 @@ +--- services/docker/docker.go.orig 2022-07-17 19:10:19 UTC ++++ services/docker/docker.go +@@ -402,7 +402,7 @@ var infoResp = map[string]interface{}{ + "Mirrors": []interface{}{}, + }, + "NCPU": 8, +- "MemTotal": 16348065792, ++ "MemTotal": int64(16348065792), + "GenericResources": nil, + "DockerRootDir": "/var/lib/docker", + "HttpProxy": "", |