[arch-commits] Commit in binutils/trunk (PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Fri May 6 16:35:46 UTC 2022


    Date: Friday, May 6, 2022 @ 16:35:46
  Author: freswa
Revision: 444775

gcc-12.1.0 rebuild

Modified:
  binutils/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-06 15:53:45 UTC (rev 444774)
+++ PKGBUILD	2022-05-06 16:35:46 UTC (rev 444775)
@@ -7,7 +7,8 @@
 
 pkgname=binutils
 pkgver=2.38
-pkgrel=4
+_commit=9c67f6382ac2c90fbde5729feaf7d59ce662147a
+pkgrel=5
 pkgdesc='A set of programs to assemble and manipulate binary and object files'
 arch=(x86_64)
 url='https://www.gnu.org/software/binutils/'
@@ -14,20 +15,16 @@
 license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
 groups=(base-devel)
 depends=(glibc zlib libelf)
+makedepends=(git)
 checkdepends=(dejagnu debuginfod bc)
 optdepends=('debuginfod: for debuginfod server/client functionality')
 conflicts=(binutils-multilib)
 replaces=(binutils-multilib)
 options=(staticlibs !distcc !ccache debug)
-#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
-#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
-source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}
-        gold-warn-unsupported.patch
-        fix-incorrect-undefined-symbol.patch)
-sha256sums=('e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024'
-            'SKIP'
-            '2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4'
-            'fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6')
+source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
+        gold-warn-unsupported.patch)
+sha256sums=('SKIP'
+            '2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
 validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
 
 prepare() {
@@ -44,10 +41,6 @@
   # unsupported targets.  This allows the binutils to be built with
   # BPF support enabled.
   patch -Np1 -i "${srcdir}"/gold-warn-unsupported.patch
-
-  # fix incorrect "undefined reference" errors
-  # https://sourceware.org/bugzilla/show_bug.cgi?id=28879
-  patch -Np1 -i "${srcdir}"/fix-incorrect-undefined-symbol.patch
 }
 
 build() {
@@ -83,7 +76,7 @@
   # Extract the FSF All Permissive License
   # <https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
   # used for some linker scripts.
-  tail -n 5 "${srcdir}"/binutils-${pkgver}/ld/scripttempl/README > FSFAP
+  tail -n 5 "${srcdir}"/binutils-gdb/ld/scripttempl/README > FSFAP
 }
 
 check() {



More information about the arch-commits mailing list