summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-31 20:30:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-31 20:30:04 +0200
commited7e0927f8e4c480b3efde9928fb886f47d36b85 (patch)
treee1c41e94488bf0d4d0ad24e71c54988107be1636 /package
parent2ff012b3c70ea41cc6f241426320d1b168985f79 (diff)
sysprof: add patch to fix build failures related to NT_GNU_BUILD_ID
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/sysprof/sysprof-02-define-NT_GNU_BUILD_ID.patch22
1 files changed, 22 insertions, 0 deletions
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
index 000000000..dcc2cbe67
--- /dev/null
+++ b/package/sysprof/sysprof-02-define-NT_GNU_BUILD_ID.patch
@@ -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 <raj.khem@gmail.com>
+
+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;
+