Index: head/net/bosh-bootloader/Makefile =================================================================== --- head/net/bosh-bootloader/Makefile (revision 460379) +++ head/net/bosh-bootloader/Makefile (revision 460380) @@ -1,25 +1,26 @@ # $FreeBSD$ PORTNAME= bosh-bootloader PORTVERSION= 6.0.0 +PORTREVISION= 1 CATEGORIES= net sysutils MAINTAINER= dumbbell@FreeBSD.org COMMENT= CLI for standing up CloudFoundry or Concourse on an IAAS LICENSE= APACHE20 USE_GITHUB= yes GH_TUPLE= cloudfoundry:bosh-bootloader:v${PORTVERSION} USES= go tar:xz GO_PKGNAME= github.com/cloudfoundry/bosh-bootloader GO_TARGET= github.com/cloudfoundry/bosh-bootloader/bbl PLIST_FILES= bin/bbl post-patch: ${REINPLACE_CMD} -E -e 's|(Version = )"dev"|\1"${PORTVERSION}"|' ${WRKSRC}/bbl/main.go .include Index: head/net/bosh-bootloader/files/patch-bosh_ip.go =================================================================== --- head/net/bosh-bootloader/files/patch-bosh_ip.go (nonexistent) +++ head/net/bosh-bootloader/files/patch-bosh_ip.go (revision 460380) @@ -0,0 +1,20 @@ +This patch fixes the build on 32-bit platforms. It was failing with the +following error: +bosh/ip.go:55:16: constant 4278190080 overflows int + +--- bosh/ip.go.orig 2018-01-20 21:01:35 UTC ++++ bosh/ip.go +@@ -52,9 +52,9 @@ func (i IP) Subtract(offset int) IP { + } + + func (i IP) String() string { +- first := i.ip & 0xff000000 >> 24 +- second := i.ip & 0xff0000 >> 16 +- third := i.ip & 0xff00 >> 8 +- fourth := i.ip & 0xff ++ first := uint32(i.ip) & 0xff000000 >> 24 ++ second := uint32(i.ip) & 0xff0000 >> 16 ++ third := uint32(i.ip) & 0xff00 >> 8 ++ fourth := uint32(i.ip) & 0xff + return fmt.Sprintf("%v.%v.%v.%v", first, second, third, fourth) + } Property changes on: head/net/bosh-bootloader/files/patch-bosh_ip.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property