From cf7f85f496d56e7f80b296462934918c5b79629a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 4 Apr 2023 17:50:54 +0200 Subject: community/go: added a x87 patch --- community/go/PKGBUILD | 13 +++++++++++++ community/go/go-x87.patch | Bin 0 -> 777 bytes 2 files changed, 13 insertions(+) create mode 100644 community/go/go-x87.patch (limited to 'community') diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index 4fa88c30..e11f0cf1 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -30,3 +30,16 @@ if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then ' )" fi + +# https://go-review.googlesource.com/c/go/+/257963 +source+=('go-x87.patch') +sha256sums+=('8b124eaa7521bd0e3760b514829b1ecce3d3cd169f99c3629ff50b7769303802') +eval "$( + { + declare -f prepare || \ + printf 'prepare() { cd "$pkgname" \n}\n' + } \ + | sed ' + $i patch -Np1 -i ../go-x87.patch + ' +)" diff --git a/community/go/go-x87.patch b/community/go/go-x87.patch new file mode 100644 index 00000000..0c0a584b Binary files /dev/null and b/community/go/go-x87.patch differ -- cgit v1.2.3-54-g00ecf