0001-define-NT_GNU_BUILD_ID.patch 584 B

12345678910111213141516171819202122
  1. On uclibc elf.h does not have GNU extentions but we need this define
  2. so we define it locally if its not getting it from elf.h
  3. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  4. Upstream-Status: Pending
  5. Index: git/elfparser.h
  6. ===================================================================
  7. --- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700
  8. +++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700
  9. @@ -17,6 +17,10 @@
  10. */
  11. #include <glib.h>
  12. +#ifndef NT_GNU_BUILD_ID
  13. +#define NT_GNU_BUILD_ID 3
  14. +#endif
  15. +
  16. typedef struct ElfSym ElfSym;
  17. typedef struct ElfParser ElfParser;