Created attachment 233517 [details] patch Now it builds with clang.
Committed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c620f72bd27896977d389720e2da5792fcb094fb commit c620f72bd27896977d389720e2da5792fcb094fb Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-05-10 22:45:25 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-05-10 22:50:01 +0000 devel/elfutils: Update 0.179 -> 0.187 PR: 263594 Approved by: cem@ (maintainer timeout; 14 days) devel/elfutils/Makefile | 20 ++++--- devel/elfutils/distinfo | 6 +- .../elfutils/files/patch-config_Makefile.am (new) | 12 ++++ devel/elfutils/files/patch-configure.ac (new) | 27 +++++++++ .../patch-debuginfod_debuginfod-client.c (new) | 47 ++++++++++++++++ devel/elfutils/files/patch-lib_Makefile.am | 8 +-- devel/elfutils/files/patch-lib_error.c | 3 + devel/elfutils/files/patch-lib_eu-config.h | 12 ++-- .../elfutils/files/patch-libdw_Makefile.am (gone) | 11 ---- .../files/patch-libdwfl_dwfl__error.c (gone) | 22 -------- .../files/patch-libelf_elf__update.c (gone) | 18 ------ devel/elfutils/files/patch-src_readelf.c (gone) | 10 ---- devel/elfutils/files/patch-tests_Makefile.am | 64 +++------------------- devel/elfutils/pkg-plist | 18 ++++++ 14 files changed, 138 insertions(+), 140 deletions(-)