binutils: Update to 2.41 (v2)

v1 was #3940 - this time with a backport from master
This commit is contained in:
Christoph Reiter 2023-08-09 22:28:49 +02:00
parent 2557c30918
commit db99bc14c8

View File

@ -1,8 +1,8 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=binutils
pkgver=2.40
pkgrel=1
pkgver=2.41
pkgrel=2
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/binutils/"
@ -14,12 +14,14 @@ options=('staticlibs' '!distcc' '!ccache')
source=(https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.xz{,.sig}
0050-bfd-Increase-_bfd_coff_max_nscns-to-65279.patch
0100-binutils-2.37-msys2.patch
2002-Allow-spaces-in-the-name-of-the-external-preprocesso.patch)
sha256sums=('0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1'
2002-Allow-spaces-in-the-name-of-the-external-preprocesso.patch
"f82ee0c8dc4ee32556e23e6cd83ef083618f704f.patch::https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=f82ee0c8dc4ee32556e23e6cd83ef083618f704f")
sha256sums=('ae9a5789e23459e59606e6714723f2d3ffc31c03174191ef0d015bdf06007450'
'SKIP'
'4e8ac055df61b1b5d6ae29dc87e1154737c2e87c7b244b44866702cabf1a5d18'
'2acce83fb67a32e2cd54708ca97c31c79085d0c0f5e2f42b7d103c1fba3250fc'
'57478b9971183d430c93701b1d533e3724dab5334bbf44db924777e4a93c1063')
'57478b9971183d430c93701b1d533e3724dab5334bbf44db924777e4a93c1063'
'ce18efabddb009037b95ab3295af9f9c9fba69f99470cc24e83c84a2232323a2')
validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93'
'3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F')
@ -27,6 +29,8 @@ prepare() {
cd "${srcdir}"/binutils-${pkgver}
patch -p1 -i "${srcdir}"/0050-bfd-Increase-_bfd_coff_max_nscns-to-65279.patch
patch -p1 -i "${srcdir}"/0100-binutils-2.37-msys2.patch
# https://sourceware.org/bugzilla/show_bug.cgi?id=30724
patch -p1 -i "${srcdir}"/f82ee0c8dc4ee32556e23e6cd83ef083618f704f.patch
# https://github.com/msys2/MSYS2-packages/issues/2379
patch -R -p1 -i "${srcdir}"/2002-Allow-spaces-in-the-name-of-the-external-preprocesso.patch