Upgrade to version 20130207.

This commit is contained in:
Joerg Wunsch 2013-04-24 07:15:57 +00:00
parent b96ce883df
commit 8604b5aaef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316404
8 changed files with 30 additions and 63 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= dwarfdump
PORTVERSION= 20100204
PORTVERSION= 20130207
CATEGORIES= devel
MASTER_SITES= http://reality.sgiweb.org/davea/
DISTNAME= libdwarf-${PORTVERSION}

View file

@ -1,2 +1,2 @@
SHA256 (libdwarf-20100204.tar.gz) = b517d083a9b066b252922df722e7a9eaac4ea5a8a2d6a66e2419829563901a86
SIZE (libdwarf-20100204.tar.gz) = 1286741
SHA256 (libdwarf-20130207.tar.gz) = 5cb81459f0a1f6a2a10ef4635faddc2fa5e1a9e36901018c017759e491e708b8
SIZE (libdwarf-20130207.tar.gz) = 1534527

View file

@ -0,0 +1,24 @@
--- Makefile.in~ 2013-02-02 20:13:55.000000000 +0100
+++ Makefile.in 2013-04-10 09:11:17.000000000 +0200
@@ -98,7 +98,7 @@
# gennames should use a static libdwarf.
gennames: $(srcdir)/gennames.c $(DIRINC)/dwarf.h $(HEADERS) common.o
- $(CC) $(CFLAGS) $(srcdir)/gennames.c common.o ../libdwarf/libdwarf.a $(LDFLAGS) -o gennames
+ $(CC) $(CFLAGS) $(srcdir)/gennames.c common.o $(LDFLAGS) -ldwarf -o gennames
naming.o: $(srcdir)/naming.c $(srcdir)/naming.h
$(CC) $(CFLAGS) -c $(srcdir)/naming.c
@@ -109,10 +109,10 @@
# Use static libdwarf.a
tag_tree_build: $(srcdir)/tag_tree.c $(DIRINC)/dwarf.h $(HEADERS) tag_common.o makename.o common.o trivial_naming.o
- $(CC) $(CFLAGS) $(srcdir)/tag_tree.c tag_common.o common.o makename.o trivial_naming.o ../libdwarf/libdwarf.a $(LDFLAGS) -o tag_tree_build
+ $(CC) $(CFLAGS) $(srcdir)/tag_tree.c tag_common.o common.o makename.o trivial_naming.o $(LDFLAGS) -ldwarf -o tag_tree_build
tag_attr_build: $(srcdir)/tag_attr.c $(DIRINC)/dwarf.h $(HEADERS) tag_common.o makename.o common.o trivial_naming.o
- $(CC) $(CFLAGS) $(srcdir)/tag_attr.c tag_common.o common.o makename.o trivial_naming.o ../libdwarf/libdwarf.a $(LDFLAGS) -o tag_attr_build
+ $(CC) $(CFLAGS) $(srcdir)/tag_attr.c tag_common.o common.o makename.o trivial_naming.o $(LDFLAGS) -ldwarf -o tag_attr_build
tmp-tt-table.c tmp-tt-ext-table.c: $(srcdir)/tag_tree_ext.list $(srcdir)/tag_tree.list tag_tree_build
# gcc -E tag_tree.list does not work, so use a .c name

View file

@ -6,8 +6,7 @@
#
PORTNAME= libdwarf
PORTVERSION= 20100204
PORTREVISION= 1
PORTVERSION= 20130207
CATEGORIES= devel
MASTER_SITES= http://reality.sgiweb.org/davea/

View file

@ -1,2 +1,2 @@
SHA256 (libdwarf-20100204.tar.gz) = b517d083a9b066b252922df722e7a9eaac4ea5a8a2d6a66e2419829563901a86
SIZE (libdwarf-20100204.tar.gz) = 1286741
SHA256 (libdwarf-20130207.tar.gz) = 5cb81459f0a1f6a2a10ef4635faddc2fa5e1a9e36901018c017759e491e708b8
SIZE (libdwarf-20130207.tar.gz) = 1534527

View file

@ -1,16 +0,0 @@
--- pro_alloc.c.orig Wed Jul 4 01:37:21 2007
+++ pro_alloc.c Wed Nov 7 12:35:05 2007
@@ -40,11 +40,12 @@
#include "pro_incl.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#else
+#include <malloc.h>
#endif /* HAVE_STDLIB_H */
#ifdef HAVE_STRING_H
#include <string.h>
#endif /* HAVE_STRING_H */
-#include <malloc.h>
/*
When each block is allocated, there is a two-word structure

View file

@ -1,17 +0,0 @@
--- pro_incl.h.orig 2008-06-16 10:06:57.000000000 -0500
+++ pro_incl.h 2008-07-05 10:15:46.000000000 -0500
@@ -43,6 +43,14 @@
type defined (a required type). */
#include <libelf.h>
#endif
+#ifdef HAVE_LIBELF_H
+#include <libelf.h>
+#else
+#ifdef HAVE_LIBELF_LIBELF_H
+#include <libelf/libelf.h>
+#endif
+#endif
+
#if defined(sun)
#include <sys/elf_SPARC.h>

View file

@ -1,23 +0,0 @@
--- pro_util.h.orig 2011-06-18 08:46:00.000000000 +0200
+++ pro_util.h 2011-06-18 14:45:59.000000000 +0200
@@ -34,6 +34,9 @@
*/
+#if defined(__FreeBSD__)
+# include <osreldate.h>
+#endif
@@ -120,7 +123,9 @@
#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) ||\
+ /* FreeBSD 7.x and above always have these */ \
+ (defined(__FreeBSD__) && __FreeBSD_version > 700000)
#define Get_REL64_isa(dbg) (ISA_IA64(dbg) ? \
DWARF_PRO_R_IA64_DIR64LSB : R_MIPS_64)
#define Get_REL32_isa(dbg) (ISA_IA64(dbg) ? \