]> Git Repo - buildroot-mgba.git/commitdiff
sysprof: add patch to fix build failures related to NT_GNU_BUILD_ID
authorThomas Petazzoni <[email protected]>
Tue, 31 Jul 2012 18:30:04 +0000 (20:30 +0200)
committerThomas Petazzoni <[email protected]>
Tue, 31 Jul 2012 18:30:04 +0000 (20:30 +0200)
Signed-off-by: Thomas Petazzoni <[email protected]>
package/sysprof/sysprof-02-define-NT_GNU_BUILD_ID.patch [new file with mode: 0644]

diff --git a/package/sysprof/sysprof-02-define-NT_GNU_BUILD_ID.patch b/package/sysprof/sysprof-02-define-NT_GNU_BUILD_ID.patch
new file mode 100644 (file)
index 0000000..dcc2cbe
--- /dev/null
@@ -0,0 +1,22 @@
+On uclibc elf.h does not have GNU extentions but we need this define
+so we define it locally if its not getting it from elf.h
+
+Signed-off-by: Khem Raj <[email protected]>
+
+Upstream-Status: Pending
+
+Index: git/elfparser.h
+===================================================================
+--- git.orig/elfparser.h       2011-07-16 18:57:41.000000000 -0700
++++ git/elfparser.h    2011-07-16 20:28:54.733829895 -0700
+@@ -17,6 +17,10 @@
+  */
+ #include <glib.h>
++#ifndef NT_GNU_BUILD_ID
++#define NT_GNU_BUILD_ID 3
++#endif
++
+ typedef struct ElfSym ElfSym;
+ typedef struct ElfParser ElfParser;
This page took 0.036181 seconds and 4 git commands to generate.