aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/005-build_only_libs.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-05 19:02:38 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2020-04-13 22:40:19 +0200
commitd27623b542548b765ddd46b046169006a3b5f66f (patch)
treed31289ad2ca24bfcb6a9c6a92780ea4f7a7c47fb /package/libs/elfutils/patches/005-build_only_libs.patch
parent76d22fc24b4d4a7e93b722af3005cc38bdef8111 (diff)
downloadupstream-d27623b542548b765ddd46b046169006a3b5f66f.tar.gz
upstream-d27623b542548b765ddd46b046169006a3b5f66f.tar.bz2
upstream-d27623b542548b765ddd46b046169006a3b5f66f.zip
elfutils: update to 0.179
Removed sys/cdefs usage. The header is deprecated. Removed canonicalize_file_name define. It's already fixed upstream. Added --disable-debuginfod. Seems to be needed. Modified patch 005 to build more stuff. It was failing before. It still only builds libraries. Modified patch 100 to use strerror under non-glibc. It is used under glibc as strerror is not thread safe. It is under musl and uClibc-ng. strerror_l is not available under uClibc-ng. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/elfutils/patches/005-build_only_libs.patch')
-rw-r--r--package/libs/elfutils/patches/005-build_only_libs.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/package/libs/elfutils/patches/005-build_only_libs.patch b/package/libs/elfutils/patches/005-build_only_libs.patch
index 93d593a0fc..a81d1d2cab 100644
--- a/package/libs/elfutils/patches/005-build_only_libs.patch
+++ b/package/libs/elfutils/patches/005-build_only_libs.patch
@@ -1,12 +1,11 @@
--- a/Makefile.am
+++ b/Makefile.am
-@@ -27,8 +27,7 @@ AM_MAKEFLAGS = --no-print-directory
+@@ -27,7 +27,7 @@ AM_MAKEFLAGS = --no-print-directory
pkginclude_HEADERS = version.h
- # Add doc back when we have some real content.
--SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \
-- backends src po tests
-+SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libasm
+ SUBDIRS = config m4 lib libelf libcpu backends libebl libdwelf libdwfl libdw \
+- libasm src po doc tests
++ libasm
- EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
- COPYING COPYING-GPLV2 COPYING-LGPLV3
+ if DEBUGINFOD
+ SUBDIRS += debuginfod