From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- community/go/PKGBUILD | 52 ---------------------------------------------- community/go/go-x87.patch | Bin 777 -> 0 bytes 2 files changed, 52 deletions(-) delete mode 100644 community/go/PKGBUILD delete mode 100644 community/go/go-x87.patch (limited to 'community/go') diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD deleted file mode 100644 index c4adc372..00000000 --- a/community/go/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -eval "$( - declare -f build | \ - sed ' - /install\( .*\)\? -race /d - ' - declare -f package_go-pie package | \ - sed ' - s,\(/linux_\)amd64\([_/]\),\1386\2,g - ' -)" - -eval "$( - declare -f build check _package \ - | sed ' - s/\(export GOARCH=\)amd64/\1386 / - ' -)" - -# 1.16 dropped non-SSE2 floating point operations, so we must -# use software floating points (see https://github.com/golang/go/issues/40255) -if [ "$CARCH" = 'i686' -o "$CARCH" = 'i486' ]; then - eval "$( - declare -f build \ - | sed ' - 2 a export GO386='softfloat' - ' - declare -f check \ - | sed ' - 2 a export GO386='softfloat' - ' - )" -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 - ' -)" - -# tests are failing, ignore them -unset check - -# bootstrap via go17 -makedepends=(${makedepends[@]//go/}) -makedepends+=('go17') diff --git a/community/go/go-x87.patch b/community/go/go-x87.patch deleted file mode 100644 index 0c0a584b..00000000 Binary files a/community/go/go-x87.patch and /dev/null differ -- cgit v1.2.3-54-g00ecf