diff --git a/cross/binutils-aarch64/APKBUILD b/cross/binutils-aarch64/APKBUILD index 64cf31970..edfe352f1 100644 --- a/cross/binutils-aarch64/APKBUILD +++ b/cross/binutils-aarch64/APKBUILD @@ -4,7 +4,7 @@ pkgname=binutils-aarch64 pkgver=2.37 -pkgrel=3 +pkgrel=4 pkgdesc="Tools necessary to build programs for aarch64 targets" url="https://www.gnu.org/software/binutils/" makedepends="gettext libtool autoconf automake bison texinfo" @@ -42,6 +42,14 @@ fi # 2.28-r1: # - CVE-2017-7614 +prepare() { + default_prepare + + # Remove existing empty man pages to force them to be regenerated. + # Workaround for https://gitlab.alpinelinux.org/alpine/aports/-/issues/13034 + find "$builddir" -name '[a-z]*\.[0-9]*' -empty -delete +} + build() { _target="$(arch_to_hostspec aarch64)" "$builddir"/configure \ diff --git a/cross/binutils-armhf/APKBUILD b/cross/binutils-armhf/APKBUILD index c8e3675eb..532238d01 100644 --- a/cross/binutils-armhf/APKBUILD +++ b/cross/binutils-armhf/APKBUILD @@ -4,7 +4,7 @@ pkgname=binutils-armhf pkgver=2.37 -pkgrel=3 +pkgrel=4 pkgdesc="Tools necessary to build programs for armhf targets" url="https://www.gnu.org/software/binutils/" makedepends="gettext libtool autoconf automake bison texinfo" @@ -42,6 +42,14 @@ fi # 2.28-r1: # - CVE-2017-7614 +prepare() { + default_prepare + + # Remove existing empty man pages to force them to be regenerated. + # Workaround for https://gitlab.alpinelinux.org/alpine/aports/-/issues/13034 + find "$builddir" -name '[a-z]*\.[0-9]*' -empty -delete +} + build() { _target="$(arch_to_hostspec armhf)" "$builddir"/configure \ diff --git a/cross/binutils-armv7/APKBUILD b/cross/binutils-armv7/APKBUILD index 933b550b2..9ec42c5ce 100644 --- a/cross/binutils-armv7/APKBUILD +++ b/cross/binutils-armv7/APKBUILD @@ -4,7 +4,7 @@ pkgname=binutils-armv7 pkgver=2.37 -pkgrel=3 +pkgrel=4 pkgdesc="Tools necessary to build programs for armv7 targets" url="https://www.gnu.org/software/binutils/" makedepends="gettext libtool autoconf automake bison texinfo" @@ -42,6 +42,14 @@ fi # 2.28-r1: # - CVE-2017-7614 +prepare() { + default_prepare + + # Remove existing empty man pages to force them to be regenerated. + # Workaround for https://gitlab.alpinelinux.org/alpine/aports/-/issues/13034 + find "$builddir" -name '[a-z]*\.[0-9]*' -empty -delete +} + build() { _target="$(arch_to_hostspec armv7)" "$builddir"/configure \