From 8ba70a1c28a4e0ee73db5308b38abc923b0be44d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 2 Mar 2017 12:24:31 +0000 Subject: Create meta-gplv2 from files from OE-Core Signed-off-by: Richard Purdie --- .../elfutils/elfutils-0.148/gcc6.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-devtools/elfutils/elfutils-0.148/gcc6.patch (limited to 'recipes-devtools/elfutils/elfutils-0.148/gcc6.patch') diff --git a/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch b/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch new file mode 100644 index 0000000..b56a754 --- /dev/null +++ b/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch @@ -0,0 +1,23 @@ +Fix warnings found with gcc6 + +| ../../elfutils-0.148/libdw/dwarf_siblingof.c: In function 'dwarf_siblingof': +| ../../elfutils-0.148/libdw/dwarf_siblingof.c:69:6: error: nonnull argument 'result' compared to NULL [-Werror=nonnull-compare] +| if (result == NULL) +| ^ + +Signed-off-by: Khem Raj +Upstream-Status: Inappropriate [ unmaintained ] +Index: elfutils-0.148/libdw/dwarf_siblingof.c +=================================================================== +--- elfutils-0.148.orig/libdw/dwarf_siblingof.c ++++ elfutils-0.148/libdw/dwarf_siblingof.c +@@ -66,9 +66,6 @@ dwarf_siblingof (die, result) + if (die == NULL) + return -1; + +- if (result == NULL) +- return -1; +- + if (result != die) + result->addr = NULL; + -- cgit v1.2.3-54-g00ecf