Bug 245157 - security/vault: fix build on aarch64
Summary: security/vault: fix build on aarch64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks: 242312
  Show dependency treegraph
 
Reported: 2020-03-29 09:58 UTC by Mikael Urankar
Modified: 2020-03-29 16:16 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments
patch (63.29 KB, patch)
2020-03-29 09:58 UTC, Mikael Urankar
no flags Details | Diff
patch (63.42 KB, patch)
2020-03-29 11:18 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer 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 2020-03-29 11:06:54 UTC
I screwed up the patch.
Comment 2 Mikael Urankar freebsd_committer 2020-03-29 11:18:11 UTC
Created attachment 212827 [details]
patch
Comment 3 Steve Wills freebsd_committer 2020-03-29 15:58:48 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer 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