Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2019 22:54:19 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518883 - head/mail/aerc
Message-ID:  <201912022254.xB2MsJk9051350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Dec  2 22:54:19 2019
New Revision: 518883
URL: https://svnweb.freebsd.org/changeset/ports/518883

Log:
  mail/aerc: Unbreak on arm64
  
  # git.sr.ht/~sircmpwn/pty
  vendor/git.sr.ht/~sircmpwn/pty/pty_freebsd.go:50:20: undefined: fiodgnameArg
  vendor/git.sr.ht/~sircmpwn/pty/pty_freebsd.go:63:12: undefined: _C_SPECNAMELEN
  vendor/git.sr.ht/~sircmpwn/pty/pty_freebsd.go:66:9: undefined: fiodgnameArg
  # 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/p518178_s355024/logs/errors/aerc-0.3.0.log
  
  Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds
  support for FreeBSD arm64 and generating the missing
  git.sr.ht/~sircmpwn/pty/ztypes_freebsd_arm64.go.
  
  PR:		242312

Modified:
  head/mail/aerc/Makefile
  head/mail/aerc/distinfo

Modified: head/mail/aerc/Makefile
==============================================================================
--- head/mail/aerc/Makefile	Mon Dec  2 22:14:37 2019	(r518882)
+++ head/mail/aerc/Makefile	Mon Dec  2 22:54:19 2019	(r518883)
@@ -2,6 +2,7 @@
 
 PORTNAME=	aerc
 DISTVERSION=	0.3.0
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MAINTAINER=	tobik@FreeBSD.org
@@ -31,7 +32,7 @@ GH_TUPLE=	danwakefield:fnmatch:cbb64ac3d964:danwakefie
 		golang:net:74dc4d7220e7:golang_net/vendor/golang.org/x/net \
 		golang:oauth2:0f29369cfe45:golang_oauth2/vendor/golang.org/x/oauth2 \
 		golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sys:fde4db37ae7a:golang_sys/vendor/golang.org/x/sys \
+		golang:sys:33540a1f6037:golang_sys/vendor/golang.org/x/sys \
 		golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
 		google:shlex:c34317bd91bf:google_shlex/vendor/github.com/google/shlex \
 		kyoh86:xdg:v1.0.0:kyoh86_xdg/vendor/github.com/kyoh86/xdg \
@@ -90,5 +91,12 @@ post-patch:
 		-e '/MANDIR/ s,install -m644,${INSTALL_MAN},' \
 		-e '/SHAREDIR/ s,install -m644,${INSTALL_DATA},' \
 		${WRKSRC}/Makefile
+
+.if ${ARCH} == aarch64
+pre-build:
+	cd ${WRKSRC}/vendor/git.sr.ht/~sircmpwn/pty && \
+		${SETENV} GOARCH=arm64 GOOS=${OPSYS:tl} ${SH} mktypes.bash \
+		types_freebsd.go
+.endif
 
 .include <bsd.port.post.mk>

Modified: head/mail/aerc/distinfo
==============================================================================
--- head/mail/aerc/distinfo	Mon Dec  2 22:14:37 2019	(r518882)
+++ head/mail/aerc/distinfo	Mon Dec  2 22:54:19 2019	(r518883)
@@ -1,4 +1,4 @@
-TIMESTAMP = 1574353336
+TIMESTAMP = 1575324532
 SHA256 (sircmpwn-aerc-0.3.0_SRHT0.tar.gz) = 44d5ab0d5f1195166b351ec59680cc8f4c0eb45da4d44263b138be0a91a512a1
 SIZE (sircmpwn-aerc-0.3.0_SRHT0.tar.gz) = 109525
 SHA256 (sircmpwn-getopt-292febf82fd0_SRHT0.tar.gz) = c00ce65497649a786737098986543a22845c9168dcc21ddcaabd56f04969373c
@@ -41,8 +41,8 @@ SHA256 (golang-oauth2-0f29369cfe45_GH0.tar.gz) = 46842
 SIZE (golang-oauth2-0f29369cfe45_GH0.tar.gz) = 45498
 SHA256 (golang-protobuf-v1.3.2_GH0.tar.gz) = c9cda622857a17cf0877c5ba76688a931883e505f40744c9495638b6e3da1f65
 SIZE (golang-protobuf-v1.3.2_GH0.tar.gz) = 312285
-SHA256 (golang-sys-fde4db37ae7a_GH0.tar.gz) = b6aab4e92d5d8fe85ca0dd229bfb75c91290951a3bf3b95087459e5a4eae86a4
-SIZE (golang-sys-fde4db37ae7a_GH0.tar.gz) = 1455218
+SHA256 (golang-sys-33540a1f6037_GH0.tar.gz) = 09ebdf007413c2eaddce123137443d08d1848be410c58896e772f0481ec385d5
+SIZE (golang-sys-33540a1f6037_GH0.tar.gz) = 1497659
 SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
 SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
 SHA256 (google-shlex-c34317bd91bf_GH0.tar.gz) = fefaae49749c42aaaf9864fc0a04326a8cc263a42ebfb18b907419b9cfc9f4f1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912022254.xB2MsJk9051350>