diff options
author | Baruch Siach <baruch@tkos.co.il> | 2018-06-08 09:21:57 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-06-08 16:30:24 +0200 |
commit | f0335b0cf78dee43df93b9ee17d86f1443990cca (patch) | |
tree | 3876d09e2d5154d97c2112ac3f733e7a40c298c4 /package/elfutils/0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch | |
parent | eca8704dcf4d026f7aea6f1819772d0c19517346 (diff) | |
download | buildroot-f0335b0cf78dee43df93b9ee17d86f1443990cca.tar.gz buildroot-f0335b0cf78dee43df93b9ee17d86f1443990cca.zip |
elfutils: bump to version 0.171
Drop the po/ disable patch; not needed anymore.
Drop the __mempcpy compatibility patch; __mempcpy is not used anymore.
Refresh the -Werror removal patch; still needed, unfortunately.
Renumber the remaining patches.
Add GPLv3 license file.
Add license files hash.
[Peter: drop security reference, was added post-release]
Cc: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/elfutils/0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch')
-rw-r--r-- | package/elfutils/0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/elfutils/0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch b/package/elfutils/0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch new file mode 100644 index 0000000000..21ffa7f31b --- /dev/null +++ b/package/elfutils/0003-Really-make-Werror-conditional-to-BUILD_WERROR.patch @@ -0,0 +1,36 @@ +From 2688a0238eaf825d6659c16c012db0c16f07e197 Mon Sep 17 00:00:00 2001 +From: Vicente Olivert Riera <Vincent.Riera@imgtec.com> +Date: Mon, 29 May 2017 23:24:42 +0300 +Subject: [PATCH] Really make -Werror conditional to BUILD_WERROR + +Otherwise it will fail with an error message like this one: + +elf_getarsym.c:290:9: error: 'n' may be used uninitialized in this +function [-Werror=maybe-uninitialized] + arsym[n].as_name = NULL; + ^ +cc1: all warnings being treated as errors + +[Vincent: tweak patch for 0.166] + +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> +Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> +--- + config/eu.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/config/eu.am b/config/eu.am +index c2cc349ce876..99b368e09060 100644 +--- a/config/eu.am ++++ b/config/eu.am +@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ + -Wold-style-definition -Wstrict-prototypes \ + $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \ + $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \ +- $(if $($(*F)_no_Werror),,-Werror) \ + $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ + $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \ + $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \ +-- +2.17.1 + |