mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
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)
11 lines
386 B
Go
11 lines
386 B
Go
--- 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": "",
|