From 12db3c8436211c587cc8d8249482cad48a06fbfe Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 9 Jan 2025 11:48:24 +0100 Subject: use elfutils systemwide libelf is deprecated and does not build with gcc-14. Use elfutils instead as drop-in replacement. Add patches from Buildroot to disable progs, which use glibc specific functions. --- package/elfutils/patches/patch-Makefile_am | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/elfutils/patches/patch-Makefile_am (limited to 'package/elfutils/patches/patch-Makefile_am') diff --git a/package/elfutils/patches/patch-Makefile_am b/package/elfutils/patches/patch-Makefile_am new file mode 100644 index 000000000..579e76113 --- /dev/null +++ b/package/elfutils/patches/patch-Makefile_am @@ -0,0 +1,16 @@ +--- elfutils-0.189.orig/Makefile.am 2023-03-03 16:42:26.000000000 +0100 ++++ elfutils-0.189/Makefile.am 2025-01-08 20:12:14.302360288 +0100 +@@ -26,8 +26,12 @@ AM_MAKEFLAGS = --no-print-directory + + pkginclude_HEADERS = version.h + ++if ENABLE_PROGS ++PROGS_SUBDIR = src ++endif ++ + SUBDIRS = config lib libelf libcpu backends libebl libdwelf libdwfl libdw \ +- libasm debuginfod src po doc tests ++ libasm debuginfod $(PROGS_SUBDIR) po doc tests + + EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \ + COPYING COPYING-GPLV2 COPYING-LGPLV3 -- cgit v1.2.3