diff options
-rw-r--r-- | devel/libdwarf/Makefile | 1 | ||||
-rw-r--r-- | devel/libdwarf/files/patch-pro_util.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/libdwarf/Makefile b/devel/libdwarf/Makefile index 676354802377..a79f57d7ef92 100644 --- a/devel/libdwarf/Makefile +++ b/devel/libdwarf/Makefile @@ -7,6 +7,7 @@ PORTNAME= libdwarf PORTVERSION= 20100204 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://reality.sgiweb.org/davea/ diff --git a/devel/libdwarf/files/patch-pro_util.h b/devel/libdwarf/files/patch-pro_util.h new file mode 100644 index 000000000000..292f8f7370ef --- /dev/null +++ b/devel/libdwarf/files/patch-pro_util.h @@ -0,0 +1,11 @@ +--- pro_util.h.orig 2011-06-18 08:45:01.000000000 +0200 ++++ pro_util.h 2011-06-18 08:45:50.000000000 +0200 +@@ -120,7 +120,7 @@ + #define Get_REL_SEGREL_isa(dbg) (R_386_NONE) /* I don't know! */ + #endif /* sparc || i386 */ + #else /* !sun */ +-#ifdef HAVE_SYS_IA64_ELF_H ++#if defined(HAVE_SYS_IA64_ELF_H) || defined(__FreeBSD__) + #define Get_REL64_isa(dbg) (ISA_IA64(dbg) ? \ + DWARF_PRO_R_IA64_DIR64LSB : R_MIPS_64) + #define Get_REL32_isa(dbg) (ISA_IA64(dbg) ? \ |