Bug 242577 - net/clash: Unbreak on aarch64
Summary: net/clash: Unbreak 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: Dmitri Goutnik
URL:
Keywords:
Depends on:
Blocks: 242312
  Show dependency treegraph
 
Reported: 2019-12-11 12:39 UTC by Dmitri Goutnik
Modified: 2019-12-12 12:05 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
clash-0.16.0_2.patch (2.98 KB, patch)
2019-12-11 12:39 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-12-11 12:39:58 UTC
Created attachment 209862 [details]
clash-0.16.0_2.patch

===>  Building clash from .
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128

http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518685_s355218/logs/errors/clash-0.16.0_1.log

Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to 83d349e8ac1a which adds support for freebsd/arm64.

Tested on 12.1-STABLE/arm64 and 12.1-RELEASE/amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-12-12 12:05:03 UTC
A commit references this bug:

Author: dmgk
Date: Thu Dec 12 12:04:29 UTC 2019
New revision: 519861
URL: https://svnweb.freebsd.org/changeset/ports/519861

Log:
  net/clash: Unbreak on aarch64

  ===>  Building clash from .
  # golang.org/x/sys/unix
  vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128

  http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518685_s355218/logs/errors/clash-0.16.0_1.log

  Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to
  83d349e8ac1a which adds support for freebsd/arm64.

  PR:		242577
  Approved by:	yuri (maintainer)

Changes:
  head/net/clash/Makefile
  head/net/clash/distinfo