From 24ffd6d20daf593ad337857de446935f8c8e33f0 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 10 Aug 2022 19:25:30 +0200 Subject: [PATCH] github-cli: update to 2.14.4 --- srcpkgs/github-cli/template | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/srcpkgs/github-cli/template b/srcpkgs/github-cli/template index efab7dc866d0..7ff97e08d298 100644 --- a/srcpkgs/github-cli/template +++ b/srcpkgs/github-cli/template @@ -1,6 +1,6 @@ # Template file for 'github-cli' pkgname=github-cli -version=2.14.3 +version=2.14.4 revision=1 wrksrc="cli-${version}" build_style=go @@ -13,9 +13,16 @@ license="MIT" homepage="https://cli.github.com" changelog="https://github.com/cli/cli/releases" distfiles="https://github.com/cli/cli/archive/v${version}.tar.gz" -checksum=b674f04ff9954564ba74488fc22817f5548bcddb5d9d582720d2421604988270 +checksum=be93380e5a7f2822a1bfeff80f23231ee72ca297b9bc05bba0a1c688f9f53ccf pre_build() { + # build for i686 + # issue: https://go.dev/issue/52919 + # fix: https://go-review.googlesource.com/c/go/+/421935/ + if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then + CGO_CFLAGS+=" -fno-stack-protector" + fi + local _date if [ "$SOURCE_DATE_EPOCH" ]; then _date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"