Index: head/devel/elfutils/Makefile =================================================================== --- head/devel/elfutils/Makefile (revision 418506) +++ head/devel/elfutils/Makefile (revision 418507) @@ -1,42 +1,44 @@ # Created by: Conrad Meyer # $FreeBSD$ PORTNAME= elfutils PORTVERSION= 0.163 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= https://fedorahosted.org/releases/e/l/elfutils/ +MASTER_SITES= https://fedorahosted.org/releases/e/l/elfutils/$(PORTVERSION)/ MAINTAINER= cem@FreeBSD.org COMMENT= Library for manipulating ELF files and partial implementation of binutils LICENSE= LGPL3 GPLv2 GPLv3 LICENSE_COMB= multi LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING-GPLV2 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING-LGPLV3 BUILD_DEPENDS= gnulib>=0:devel/gnulib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls USES= gmake libtool tar:bzip2 USE_AUTOTOOLS= automake USE_GCC= 4.9+ GNU_CONFIGURE= yes # Avoid conflict with binutils / elftoolchain programs with the same names: CONFIGURE_ARGS+= --program-prefix=eu- post-patch: @cd $(WRKSRC) && ${AUTOMAKE} @${CP} -a \ $(LOCALBASE)/share/gnulib/lib/obstack.c \ $(LOCALBASE)/share/gnulib/lib/obstack.h \ $(LOCALBASE)/share/gnulib/lib/obstack_printf.c \ $(WRKSRC)/lib + @cd $(WRKSRC) && ${LN} -s libelf elfutils .include Index: head/devel/elfutils/files/patch-libelf_Makefile.am =================================================================== --- head/devel/elfutils/files/patch-libelf_Makefile.am (nonexistent) +++ head/devel/elfutils/files/patch-libelf_Makefile.am (revision 418507) @@ -0,0 +1,20 @@ +--- libelf/Makefile.am.orig 2014-12-22 15:04:49 UTC ++++ libelf/Makefile.am +@@ -39,7 +39,7 @@ noinst_LIBRARIES = libelf_pic.a + noinst_PROGRAMS = $(noinst_LIBRARIES:_pic.a=.so) + include_HEADERS = libelf.h gelf.h nlist.h + +-pkginclude_HEADERS = elf-knowledge.h ++pkginclude_HEADERS = elf-knowledge.h elf.h + + libelf_a_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \ + elf_begin.c elf_next.c elf_rand.c elf_end.c elf_kind.c \ +@@ -117,7 +117,7 @@ uninstall: uninstall-am + rm -f $(DESTDIR)$(libdir)/libelf.so.$(VERSION) + rm -f $(DESTDIR)$(libdir)/libelf.so + +-noinst_HEADERS = elf.h abstract.h common.h exttypes.h gelf_xlate.h libelfP.h \ ++noinst_HEADERS = abstract.h common.h exttypes.h gelf_xlate.h libelfP.h \ + version_xlate.h gnuhash_xlate.h note_xlate.h dl-hash.h + EXTRA_DIST = libelf.map + Property changes on: head/devel/elfutils/files/patch-libelf_Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/elfutils/files/patch-libelf_libelf.h =================================================================== --- head/devel/elfutils/files/patch-libelf_libelf.h (nonexistent) +++ head/devel/elfutils/files/patch-libelf_libelf.h (revision 418507) @@ -0,0 +1,63 @@ +--- libelf/libelf.h.orig 2014-08-18 19:48:26 UTC ++++ libelf/libelf.h +@@ -32,7 +32,7 @@ + #include + + /* Get the ELF types. */ +-#include ++#include + + + /* Known translation types. */ +@@ -74,7 +74,7 @@ typedef struct + Elf_Type d_type; /* Type of this piece of data. */ + unsigned int d_version; /* ELF version. */ + size_t d_size; /* Size in bytes. */ +- loff_t d_off; /* Offset into section. */ ++ off_t d_off; /* Offset into section. */ + size_t d_align; /* Alignment in section. */ + } Elf_Data; + +@@ -136,7 +136,7 @@ typedef struct + uid_t ar_uid; /* User ID. */ + gid_t ar_gid; /* Group ID. */ + mode_t ar_mode; /* File mode. */ +- loff_t ar_size; /* File size. */ ++ off_t ar_size; /* File size. */ + char *ar_rawname; /* Original name of archive member. */ + } Elf_Arhdr; + +@@ -177,13 +177,13 @@ extern Elf_Cmd elf_next (Elf *__elf); + extern int elf_end (Elf *__elf); + + /* Update ELF descriptor and write file to disk. */ +-extern loff_t elf_update (Elf *__elf, Elf_Cmd __cmd); ++extern off_t elf_update (Elf *__elf, Elf_Cmd __cmd); + + /* Determine what kind of file is associated with ELF. */ + extern Elf_Kind elf_kind (Elf *__elf) __attribute__ ((__pure__)); + + /* Get the base offset for an object file. */ +-extern loff_t elf_getbase (Elf *__elf); ++extern off_t elf_getbase (Elf *__elf); + + + /* Retrieve file identification data. */ +@@ -301,7 +301,7 @@ extern Elf_Data *elf_newdata (Elf_Scn *_ + would be for TYPE. The resulting Elf_Data pointer is valid until + elf_end (ELF) is called. */ + extern Elf_Data *elf_getdata_rawchunk (Elf *__elf, +- loff_t __offset, size_t __size, ++ off_t __offset, size_t __size, + Elf_Type __type); + + +@@ -313,7 +313,7 @@ extern char *elf_strptr (Elf *__elf, siz + extern Elf_Arhdr *elf_getarhdr (Elf *__elf); + + /* Return offset in archive for current file ELF. */ +-extern loff_t elf_getaroff (Elf *__elf); ++extern off_t elf_getaroff (Elf *__elf); + + /* Select archive element at OFFSET. */ + extern size_t elf_rand (Elf *__elf, size_t __offset); Property changes on: head/devel/elfutils/files/patch-libelf_libelf.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/elfutils/pkg-plist =================================================================== --- head/devel/elfutils/pkg-plist (revision 418506) +++ head/devel/elfutils/pkg-plist (revision 418507) @@ -1,72 +1,73 @@ bin/eu-addr2line bin/eu-ar bin/eu-elfcmp bin/eu-elflint bin/eu-findtextrel bin/eu-ld bin/eu-make-debug-archive bin/eu-nm bin/eu-objdump bin/eu-ranlib bin/eu-readelf bin/eu-size bin/eu-stack bin/eu-strings bin/eu-strip bin/eu-unstrip include/dwarf.h include/elfutils/elf-knowledge.h +include/elfutils/elf.h include/elfutils/known-dwarf.h include/elfutils/libasm.h include/elfutils/libdw.h include/elfutils/libdwelf.h include/elfutils/libdwfl.h include/elfutils/libebl.h include/elfutils/version.h include/gelf.h include/libelf.h include/nlist.h lib/elfutils/libebl_aarch64-0.163.so lib/elfutils/libebl_aarch64.so lib/elfutils/libebl_alpha-0.163.so lib/elfutils/libebl_alpha.so lib/elfutils/libebl_arm-0.163.so lib/elfutils/libebl_arm.so lib/elfutils/libebl_i386-0.163.so lib/elfutils/libebl_i386.so lib/elfutils/libebl_ia64-0.163.so lib/elfutils/libebl_ia64.so lib/elfutils/libebl_ppc-0.163.so lib/elfutils/libebl_ppc.so lib/elfutils/libebl_ppc64-0.163.so lib/elfutils/libebl_ppc64.so lib/elfutils/libebl_s390-0.163.so lib/elfutils/libebl_s390.so lib/elfutils/libebl_sh-0.163.so lib/elfutils/libebl_sh.so lib/elfutils/libebl_sparc-0.163.so lib/elfutils/libebl_sparc.so lib/elfutils/libebl_tilegx-0.163.so lib/elfutils/libebl_tilegx.so lib/elfutils/libebl_x86_64-0.163.so lib/elfutils/libebl_x86_64.so lib/libasm-0.163.so lib/libasm.a lib/libasm.so lib/libasm.so.1 lib/libdw-0.163.so lib/libdw.a lib/libdw.so lib/libdw.so.1 lib/libebl.a lib/libelf-0.163.so lib/libelf.a lib/libelf.so lib/libelf.so.1 %%NLS%%share/locale/de/LC_MESSAGES/elfutils.mo %%NLS%%share/locale/en@boldquot/LC_MESSAGES/elfutils.mo %%NLS%%share/locale/en@quot/LC_MESSAGES/elfutils.mo %%NLS%%share/locale/es/LC_MESSAGES/elfutils.mo %%NLS%%share/locale/ja/LC_MESSAGES/elfutils.mo %%NLS%%share/locale/pl/LC_MESSAGES/elfutils.mo %%NLS%%share/locale/uk/LC_MESSAGES/elfutils.mo