summaryrefslogtreecommitdiffstats
path: root/package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-06-17 15:48:29 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-18 14:59:39 +0200
commit794ae61a15f7a36e199b62b2e5224cfc41bdabea (patch)
tree992af3cb07841270d4da6f30390d3f236d4bab76 /package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch
parenta97dc46d7e7fcdf83020371d4ae3fe8d886d8aee (diff)
downloadbuildroot-794ae61a15f7a36e199b62b2e5224cfc41bdabea.tar.gz
buildroot-794ae61a15f7a36e199b62b2e5224cfc41bdabea.zip
elfutils: bump version to 0.166
- Remove 0001-argp-support.patch since it's already included upstream: https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=1ab3c2befeedf5bd891cfbe17cfef79c06e5079a - Tweak patches for this new version: - 0002-disable-progs.patch - 0003-fts.patch - 0004-disable-po.patch - 0005-really-make-werror-conditional-to-build-werror.patch - Remove 0007-Allow-disabling-symbol-versioning-at-configure-t since it's already included upstream: https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=bafacacaf7659a4933604662daba26a480b29a8d - Remove portability patch since it's no longer needed. I have asked Mark Wielaard regarding this topic given the portability patch looks been discontinued since 0.163 and he replied the following: - "I believe it is no longer needed. At least not on any platform I am actively maintaining. See also this discussion from last year: https://lists.fedorahosted.org/pipermail/elfutils-devel/2015-May/004825.html" - Add zlib dependency since it's now mandatory: configure: error: zlib not found but is required Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch')
-rw-r--r--package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch b/package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch
index 59aae5e8b6..aa4d12d6a2 100644
--- a/package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch
+++ b/package/elfutils/0005-really-make-werror-conditional-to-build-werror.patch
@@ -8,17 +8,19 @@ function [-Werror=maybe-uninitialized]
^
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>
diff -rup a/config/eu.am b/config/eu.am
---- a/config/eu.am 2014-11-10 16:19:14.356031479 +0000
-+++ b/config/eu.am 2014-11-10 16:21:11.702072011 +0000
-@@ -35,7 +35,6 @@ LD_AS_NEEDED = @LD_AS_NEEDED@
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"${localedir}"'
- AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_srcdir)/lib -I..
- AM_CFLAGS = -std=gnu99 -Wall -Wshadow \
+--- a/config/eu.am 2016-03-02 16:25:38.000000000 +0000
++++ b/config/eu.am 2016-06-17 15:05:08.270974835 +0100
+@@ -65,7 +65,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -W
+ -Wold-style-definition -Wstrict-prototypes \
+ $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
+ $(NULL_DEREFERENCE_WARNING) \
- $(if $($(*F)_no_Werror),,-Werror) \
- $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \
- $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) \
+ $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
+ $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
$($(*F)_CFLAGS)
OpenPOWER on IntegriCloud