diff options
Diffstat (limited to 'devel/libdwarf/files')
-rw-r--r-- | devel/libdwarf/files/patch-configure | 11 | ||||
-rw-r--r-- | devel/libdwarf/files/patch-malloc.h | 30 | ||||
-rw-r--r-- | devel/libdwarf/files/patch-pro_incl.h | 21 |
3 files changed, 62 insertions, 0 deletions
diff --git a/devel/libdwarf/files/patch-configure b/devel/libdwarf/files/patch-configure new file mode 100644 index 000000000000..031bf18233d5 --- /dev/null +++ b/devel/libdwarf/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Nov 22 19:20:35 2004 ++++ configure Sat Feb 12 22:06:36 2005 +@@ -3255,7 +3255,7 @@ + + + +-for ac_header in alloca.h elf.h elfaccess.h libelf.h libelf/libelf.h sys/types.h sys/ia64/elf.h ++for ac_header in alloca.h elfaccess.h libelf.h libelf/libelf.h sys/types.h sys/ia64/elf.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` + if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/devel/libdwarf/files/patch-malloc.h b/devel/libdwarf/files/patch-malloc.h new file mode 100644 index 000000000000..cfd7e3f6c552 --- /dev/null +++ b/devel/libdwarf/files/patch-malloc.h @@ -0,0 +1,30 @@ +--- dwarf_alloc.c.orig Mon Nov 22 19:20:35 2004 ++++ dwarf_alloc.c Fri Feb 11 22:22:22 2005 +@@ -41,7 +41,6 @@ + + #include <stdlib.h> + #include <stdio.h> +-#include <malloc.h> + + /* + These files are included to get the sizes +--- dwarf_init_finish.c.orig Mon Nov 22 19:20:33 2004 ++++ dwarf_init_finish.c Fri Feb 11 22:22:30 2005 +@@ -57,7 +57,6 @@ + #include <sys/types.h> + #include <string.h> + #include <stdlib.h> +-#include <malloc.h> + + #include "dwarf_incl.h" + +--- dwarf_sort_line.c.orig Mon Nov 22 19:20:35 2004 ++++ dwarf_sort_line.c Fri Feb 11 22:22:39 2005 +@@ -43,7 +43,6 @@ + #ifdef HAVE_ALLOCA_H + #include <alloca.h> + #endif +-#include <malloc.h> + + #define MINIMUM_POSSIBLE_PROLOG_LEN 10 /* 10 is based on */ + /* the definition of the DWARF2/3 line table prolog. diff --git a/devel/libdwarf/files/patch-pro_incl.h b/devel/libdwarf/files/patch-pro_incl.h new file mode 100644 index 000000000000..15cbdef76982 --- /dev/null +++ b/devel/libdwarf/files/patch-pro_incl.h @@ -0,0 +1,21 @@ +--- pro_incl.h.orig Mon Nov 22 19:20:35 2004 ++++ pro_incl.h Sat Feb 12 22:17:11 2005 +@@ -38,6 +38,18 @@ + #ifdef HAVE_ELF_H + #include <elf.h> + #endif ++#ifdef __SGI_FAST_LIBELF ++#include <libelf_sgi.h> ++#else ++#ifdef HAVE_LIBELF_H ++#include <libelf.h> ++#else ++#ifdef HAVE_LIBELF_LIBELF_H ++#include <libelf/libelf.h> ++#endif ++#endif ++#endif /* !defined(__SGI_FAST_LIBELF) */ ++ + + /* The target address is given: the place in the source integer + is to be determined. |