Bug 245157

Summary: security/vault: fix build on aarch64
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (swills)
Priority: ---    
Version: Latest   
Hardware: arm64   
OS: Any   
Bug Depends on:    
Bug Blocks: 242312    
Attachments:
Description Flags
patch
none
patch none

Description Mikael Urankar freebsd_committer freebsd_triage 2020-03-29 09:58:02 UTC
Created attachment 212822 [details]
patch

Drop GH_TUPLES, the modules are already bundled in the archive, no need to download / extract them again.
Import 2 upstreams patches:
https://github.com/shirou/gopsutil/commit/270f6afc220d6dcbc9e1d14e0f6f65fb4d29dfaf
https://github.com/golang/sys/commit/33540a1f603772f9d4b761f416f5c10dade23e96
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2020-03-29 11:06:54 UTC
I screwed up the patch.
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2020-03-29 11:18:11 UTC
Created attachment 212827 [details]
patch
Comment 3 Steve Wills freebsd_committer freebsd_triage 2020-03-29 15:58:48 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-03-29 16:16:09 UTC
A commit references this bug:

Author: swills
Date: Sun Mar 29 15:57:10 UTC 2020
New revision: 529813
URL: https://svnweb.freebsd.org/changeset/ports/529813

Log:
  security/vault: fix build on aarch64

  This also changes the port to use the vendored deps

  PR:		245157
  Submitted by:	mikael

Changes:
  head/security/vault/Makefile
  head/security/vault/distinfo
  head/security/vault/files/patch-gopsutil_aarch64
  head/security/vault/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go