[oe-commits] Khem Raj : elfutils-native: Update the patch to include the missing pieces needed for tests

git at git.openembedded.org git at git.openembedded.org
Wed Dec 11 14:18:45 UTC 2013


Module: openembedded-core.git
Branch: dylan
Commit: 51008a21629561c8d40a7addcddde6c2be176e90
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=51008a21629561c8d40a7addcddde6c2be176e90

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Oct 29 21:42:39 2013 -0700

elfutils-native: Update the patch to include the missing pieces needed for tests

In the last patch we missed similar update for test/line2addr.c
which meant that the build still failed.

(From OE-Core master rev: cb966afe86a5856d846fb0d4fb627cdce2ae0670)

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../elfutils/elfutils/fix-build-gcc-4.8.patch       | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/elfutils/elfutils/fix-build-gcc-4.8.patch b/meta/recipes-devtools/elfutils/elfutils/fix-build-gcc-4.8.patch
index a7c3519..0e28690 100644
--- a/meta/recipes-devtools/elfutils/elfutils/fix-build-gcc-4.8.patch
+++ b/meta/recipes-devtools/elfutils/elfutils/fix-build-gcc-4.8.patch
@@ -25,11 +25,11 @@ Signed-off-by: Khem Raj <raj.khem at gmail.com>
 
 Upstream-Status: Inappropriate [Caused by an earlier patch]
 
-Index: elfutils-0.155/src/addr2line.c
+Index: elfutils-0.148/src/addr2line.c
 ===================================================================
---- elfutils-0.155.orig/src/addr2line.c
-+++ elfutils-0.155/src/addr2line.c
-@@ -447,10 +447,10 @@ handle_address (const char *string, Dwfl
+--- elfutils-0.148.orig/src/addr2line.c	2013-09-23 17:46:45.513586538 -0700
++++ elfutils-0.148/src/addr2line.c	2013-09-23 17:46:46.329586558 -0700
+@@ -447,10 +447,10 @@
        bool parsed = false;
        int i, j;
        char *name = NULL;
@@ -42,3 +42,16 @@ Index: elfutils-0.155/src/addr2line.c
  	{
  	default:
  	  break;
+Index: elfutils-0.148/tests/line2addr.c
+===================================================================
+--- elfutils-0.148.orig/tests/line2addr.c	2013-09-23 17:46:45.521586538 -0700
++++ elfutils-0.148/tests/line2addr.c	2013-09-23 17:46:46.329586558 -0700
+@@ -132,7 +132,7 @@
+     {
+       struct args a = { .arg = argv[cnt] };
+ 
+-      switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
++      switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
+ 	{
+ 	default:
+ 	case 0:



More information about the Openembedded-commits mailing list