aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2011-06-18 14:49:31 +0800
committerjoerg <joerg@FreeBSD.org>2011-06-18 14:49:31 +0800
commit6f2e46c7c8c091ab7c5d7058058ed34e1ef677c6 (patch)
tree7e680759afd6c85f29a44e20fb9fee9d54783f49 /devel
parent1ab6652ce3adfa90a72fe6092534833158abbfa8 (diff)
downloadfreebsd-ports-gnome-6f2e46c7c8c091ab7c5d7058058ed34e1ef677c6.tar.gz
freebsd-ports-gnome-6f2e46c7c8c091ab7c5d7058058ed34e1ef677c6.tar.zst
freebsd-ports-gnome-6f2e46c7c8c091ab7c5d7058058ed34e1ef677c6.zip
Pretend we had <sys/ia64/elf.h> as we've actually got the #defines
that are expected to be in that file in our <sys/libelf_common.h>. Requested by: rdivacky
Diffstat (limited to 'devel')
-rw-r--r--devel/libdwarf/Makefile1
-rw-r--r--devel/libdwarf/files/patch-pro_util.h11
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) ? \