gnu: elfutils: Update to 0.192; fixes build with gcc-14.

Version 0.187 does not compile with gcc-14: -Werror=stringop-overflow.

* gnu/packages/elf.scm (elfutils): Update to 0.192.  This fixes the build with
gcc-14.
* gnu/packages/elf.scm (elfutils)[arguments]: Remove patch phase.
* gnu/packages/patches/elfutils-libdwfl-string-overflow.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Unregister it.

Change-Id: I9e31f24c1e62c45390789072b52dfc10d90581fe
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-05 13:45:52 +01:00 committed by Andreas Enge
parent 8db83d0b34
commit b5c69f8c7d
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 2 additions and 128 deletions

View file

@ -76,14 +76,14 @@ libraries.")
(define-public elfutils
(package
(name "elfutils")
(version "0.187")
(version "0.192")
(source (origin
(method url-fetch)
(uri (string-append "https://sourceware.org/elfutils/ftp/"
version "/elfutils-" version ".tar.bz2"))
(sha256
(base32
"1j2lsicm3dkj5n6spszr9qy5rqm48bqimmz03x6hry8hwvxhs2z7"))
"1d0nnkm59pwi9hrr28w0ifb6smldrjk6rn33kcgs3ar4msz9jq31"))
(patches (search-patches "elfutils-tests-ptrace.patch"))))
(build-system gnu-build-system)
@ -175,15 +175,6 @@ libraries.")
"tests/run-varlocs.sh")
(("^#!.*" all)
(string-append all "exit 77;\n"))))))
#~())
#$@(if (%current-target-system)
#~((add-after 'unpack 'patch
(lambda* (#:key native-inputs #:allow-other-keys)
(invoke
"patch" "-p1" "--force" "-i"
#$(local-file
(search-patch
"elfutils-libdwfl-string-overflow.patch"))))))
#~()))))
(native-inputs (append (if (target-loongarch64?)
(list config)