svn commit: r472844 - in head/sysutils/packer: . files
Nikolai Lifanov
lifanov at FreeBSD.org
Wed Jun 20 04:12:18 UTC 2018
Author: lifanov
Date: Wed Jun 20 04:12:17 2018
New Revision: 472844
URL: https://svnweb.freebsd.org/changeset/ports/472844
Log:
unbreak sysutils/packer on i386
no revision bump because no package change
Added:
head/sysutils/packer/files/
head/sysutils/packer/files/extra-patch-i386 (contents, props changed)
Modified:
head/sysutils/packer/Makefile
Modified: head/sysutils/packer/Makefile
==============================================================================
--- head/sysutils/packer/Makefile Wed Jun 20 03:59:09 2018 (r472843)
+++ head/sysutils/packer/Makefile Wed Jun 20 04:12:17 2018 (r472844)
@@ -13,11 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
PLIST_FILES= bin/${PORTNAME}
+USES= go
+
USE_GITHUB= yes
GH_ACCOUNT= hashicorp
-USES= go
-
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-i386
+.endif
+
+.include <bsd.port.post.mk>
Added: head/sysutils/packer/files/extra-patch-i386
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/packer/files/extra-patch-i386 Wed Jun 20 04:12:17 2018 (r472844)
@@ -0,0 +1,11 @@
+--- vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-01-01/network/expressroutecircuitpeerings.go.orig 2018-06-20 03:54:26 UTC
++++ vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-01-01/network/expressroutecircuitpeerings.go
+@@ -50,7 +50,7 @@ func (client ExpressRouteCircuitPeerings
+ {TargetValue: peeringParameters,
+ Constraints: []validation.Constraint{{Target: "peeringParameters.ExpressRouteCircuitPeeringPropertiesFormat", Name: validation.Null, Rule: false,
+ Chain: []validation.Constraint{{Target: "peeringParameters.ExpressRouteCircuitPeeringPropertiesFormat.PeerASN", Name: validation.Null, Rule: false,
+- Chain: []validation.Constraint{{Target: "peeringParameters.ExpressRouteCircuitPeeringPropertiesFormat.PeerASN", Name: validation.InclusiveMaximum, Rule: 4294967295, Chain: nil},
++ Chain: []validation.Constraint{{Target: "peeringParameters.ExpressRouteCircuitPeeringPropertiesFormat.PeerASN", Name: validation.InclusiveMaximum, Rule: 2147483647, Chain: nil},
+ {Target: "peeringParameters.ExpressRouteCircuitPeeringPropertiesFormat.PeerASN", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil},
+ }},
+ }}}}}); err != nil {
More information about the svn-ports-head
mailing list