From owner-svn-ports-all@freebsd.org Thu Jul 14 06:34:58 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50EEAB98ABB; Thu, 14 Jul 2016 06:34:58 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CFD31AA6; Thu, 14 Jul 2016 06:34:57 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6E6YvHL064351; Thu, 14 Jul 2016 06:34:57 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6E6YtvN064336; Thu, 14 Jul 2016 06:34:55 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201607140634.u6E6YtvN064336@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: "Conrad E. Meyer" Date: Thu, 14 Jul 2016 06:34:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418516 - in head/devel/dwarves: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2016 06:34:58 -0000 Author: cem (src committer) Date: Thu Jul 14 06:34:55 2016 New Revision: 418516 URL: https://svnweb.freebsd.org/changeset/ports/418516 Log: Update devel/dwarves to git head, b52386d0 The last release, 1.10, is four years old. The git tree since fixes numerous bugs present in 1.10. Reviewed by: portlint Sponsored by: EMC / Isilon Storage Division Modified: head/devel/dwarves/Makefile head/devel/dwarves/distinfo head/devel/dwarves/files/patch-CMakeLists.txt head/devel/dwarves/files/patch-ctf__loader.c head/devel/dwarves/files/patch-dtagnames.c head/devel/dwarves/files/patch-dutil.h head/devel/dwarves/files/patch-dwarves.c head/devel/dwarves/files/patch-dwarves__fprintf.c head/devel/dwarves/files/patch-elf__symtab.c head/devel/dwarves/files/patch-exitfail.h head/devel/dwarves/files/patch-libctf.c head/devel/dwarves/files/patch-pdwtags.c head/devel/dwarves/files/patch-pglobal.c head/devel/dwarves/files/patch-prefcnt.c head/devel/dwarves/files/patch-strings.c Modified: head/devel/dwarves/Makefile ============================================================================== --- head/devel/dwarves/Makefile Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/Makefile Thu Jul 14 06:34:55 2016 (r418516) @@ -2,10 +2,11 @@ # $FreeBSD$ PORTNAME= dwarves -PORTVERSION= 1.10 +PORTVERSION= 1.10.20160713 CATEGORIES= devel -MASTER_SITES= https://fedorapeople.org/~acme/dwarves/ -# http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2 +#MASTER_SITES= https://fedorapeople.org/~acme/dwarves/ +MASTER_SITES= http://repo.or.cz/dwarves.git/snapshot/ +DISTFILES= b52386d041fac2dc6decf3a9e8e85385784a2de9.tar.gz # git: http://repo.or.cz/dwarves.git # ML: http://news.gmane.org/gmane.comp.debugging.dwarves @@ -20,13 +21,12 @@ LIB_DEPENDS= libargp.so:devel/argp-stand BUILD_DEPENDS= cmake>=0:devel/cmake \ gnulib>=0:devel/gnulib -# Source is a tarbomb: -WRKSRC= $(WRKDIR) +WRKSRC= $(WRKDIR)/dwarves-b52386d USES= cmake:outsource localbase tar:bzip2 USE_LDCONFIG= yes -#CMAKE_VERBOSE= 1 +CMAKE_VERBOSE= 1 post-patch: @${CP} -a \ Modified: head/devel/dwarves/distinfo ============================================================================== --- head/devel/dwarves/distinfo Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/distinfo Thu Jul 14 06:34:55 2016 (r418516) @@ -1,3 +1,3 @@ -TIMESTAMP = 1468468005 -SHA256 (dwarves-1.10.tar.bz2) = 557306e1b58b475f689f44095ec62388877b1a8dd06174f97e309994c15bcc14 -SIZE (dwarves-1.10.tar.bz2) = 96919 +TIMESTAMP = 1468476328 +SHA256 (b52386d041fac2dc6decf3a9e8e85385784a2de9.tar.gz) = 7c86a956b273f26c2c3300db787de11a9e240b8e81a016cbb11e9c488e8fe248 +SIZE (b52386d041fac2dc6decf3a9e8e85385784a2de9.tar.gz) = 132977 Modified: head/devel/dwarves/files/patch-CMakeLists.txt ============================================================================== --- head/devel/dwarves/files/patch-CMakeLists.txt Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-CMakeLists.txt Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- CMakeLists.txt.orig 2012-03-20 16:17:25 UTC +--- CMakeLists.txt.orig 2016-06-30 19:30:28 UTC +++ CMakeLists.txt @@ -31,11 +31,14 @@ add_definitions(-D_GNU_SOURCE -DDWARVES_ find_package(DWARF REQUIRED) @@ -16,7 +16,7 @@ + dutil.c elf_symtab.c rbtree.c obstack.c) add_library(dwarves SHARED ${dwarves_LIB_SRCS}) set_target_properties(dwarves PROPERTIES VERSION 1.0.0 SOVERSION 1) - set_target_properties(dwarves PROPERTIES LINK_INTERFACE_LIBRARIES "") + set_target_properties(dwarves PROPERTIES INTERFACE_LINK_LIBRARIES "") @@ -53,11 +56,11 @@ target_link_libraries(dwarves_reorganize set(codiff_SRCS codiff.c) Modified: head/devel/dwarves/files/patch-ctf__loader.c ============================================================================== --- head/devel/dwarves/files/patch-ctf__loader.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-ctf__loader.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- ctf_loader.c.orig 2012-03-20 16:17:25 UTC +--- ctf_loader.c.orig 2016-06-30 19:30:28 UTC +++ ctf_loader.c @@ -11,7 +11,6 @@ #include Modified: head/devel/dwarves/files/patch-dtagnames.c ============================================================================== --- head/devel/dwarves/files/patch-dtagnames.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-dtagnames.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- dtagnames.c.orig 2012-03-20 16:17:25 UTC +--- dtagnames.c.orig 2016-06-30 19:30:28 UTC +++ dtagnames.c @@ -9,16 +9,33 @@ @@ -34,4 +34,4 @@ +#endif } - static int class__tag_name(struct tag *self, struct cu *cu __unused, + static int class__tag_name(struct tag *tag, struct cu *cu __unused, Modified: head/devel/dwarves/files/patch-dutil.h ============================================================================== --- head/devel/dwarves/files/patch-dutil.h Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-dutil.h Thu Jul 14 06:34:55 2016 (r418516) @@ -1,6 +1,24 @@ ---- dutil.h.orig 2012-03-20 16:17:25 UTC +--- dutil.h.orig 2016-06-30 19:30:28 UTC +++ dutil.h -@@ -25,7 +25,9 @@ +@@ -15,7 +15,17 @@ + #include + #include + #include ++#if 0 + #include ++#else ++# if defined(__LP64__) ++# define __BITS_PER_LONG 64 ++# elif defined(__ILP32__) ++# define __BITS_PER_LONG 32 ++# else ++# error What are you ++# endif /* __LP64__ */ ++#endif + #include "rbtree.h" + + #define BITS_PER_LONG __BITS_PER_LONG +@@ -28,7 +38,9 @@ #define __pure __attribute__ ((pure)) #endif Modified: head/devel/dwarves/files/patch-dwarves.c ============================================================================== --- head/devel/dwarves/files/patch-dwarves.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-dwarves.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- dwarves.c.orig 2012-03-20 16:17:25 UTC +--- dwarves.c.orig 2016-06-30 19:30:28 UTC +++ dwarves.c @@ -16,6 +16,8 @@ #include Modified: head/devel/dwarves/files/patch-dwarves__fprintf.c ============================================================================== --- head/devel/dwarves/files/patch-dwarves__fprintf.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-dwarves__fprintf.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- dwarves_fprintf.c.orig 2012-03-20 16:18:48 UTC +--- dwarves_fprintf.c.orig 2016-06-30 19:30:28 UTC +++ dwarves_fprintf.c @@ -9,6 +9,9 @@ published by the Free Software Foundation. @@ -10,15 +10,7 @@ #include #include #include -@@ -74,7 +77,6 @@ static const char *dwarf_tag_names[] = { - [DW_TAG_unspecified_type] = "unspecified_type", - [DW_TAG_partial_unit] = "partial_unit", - [DW_TAG_imported_unit] = "imported_unit", -- [DW_TAG_mutable_type] = "mutable_type", - [DW_TAG_condition] = "condition", - [DW_TAG_shared_type] = "shared_type", - #ifdef STB_GNU_UNIQUE -@@ -1664,7 +1666,14 @@ void cus__print_error_msg(const char *pr +@@ -1699,7 +1702,14 @@ void cus__print_error_msg(const char *pr void dwarves__fprintf_init(uint16_t user_cacheline_size) { if (user_cacheline_size == 0) { Modified: head/devel/dwarves/files/patch-elf__symtab.c ============================================================================== --- head/devel/dwarves/files/patch-elf__symtab.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-elf__symtab.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- elf_symtab.c.orig 2012-03-20 16:17:25 UTC +--- elf_symtab.c.orig 2016-06-30 19:30:28 UTC +++ elf_symtab.c @@ -7,8 +7,8 @@ published by the Free Software Foundation. Modified: head/devel/dwarves/files/patch-exitfail.h ============================================================================== --- head/devel/dwarves/files/patch-exitfail.h Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-exitfail.h Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- exitfail.h.orig 2016-07-14 04:42:52 UTC +--- exitfail.h.orig 2016-07-14 06:29:38 UTC +++ exitfail.h @@ -0,0 +1,2 @@ +#pragma once Modified: head/devel/dwarves/files/patch-libctf.c ============================================================================== --- head/devel/dwarves/files/patch-libctf.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-libctf.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- libctf.c.orig 2012-03-20 16:17:25 UTC +--- libctf.c.orig 2016-06-30 19:30:28 UTC +++ libctf.c @@ -1,7 +1,8 @@ +#include Modified: head/devel/dwarves/files/patch-pdwtags.c ============================================================================== --- head/devel/dwarves/files/patch-pdwtags.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-pdwtags.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- pdwtags.c.orig 2012-05-14 22:41:11 UTC +--- pdwtags.c.orig 2016-06-30 19:30:28 UTC +++ pdwtags.c @@ -9,7 +9,6 @@ #include Modified: head/devel/dwarves/files/patch-pglobal.c ============================================================================== --- head/devel/dwarves/files/patch-pglobal.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-pglobal.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- pglobal.c.orig 2012-03-20 16:17:25 UTC +--- pglobal.c.orig 2016-06-30 19:30:28 UTC +++ pglobal.c @@ -8,7 +8,6 @@ */ @@ -25,7 +25,7 @@ } } -@@ -313,7 +313,10 @@ int main(int argc, char *argv[]) +@@ -315,7 +315,10 @@ int main(int argc, char *argv[]) twalk(tree, function_action__walk); } Modified: head/devel/dwarves/files/patch-prefcnt.c ============================================================================== --- head/devel/dwarves/files/patch-prefcnt.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-prefcnt.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,4 +1,4 @@ ---- prefcnt.c.orig 2012-03-20 16:17:25 UTC +--- prefcnt.c.orig 2016-06-30 19:30:28 UTC +++ prefcnt.c @@ -66,9 +66,11 @@ static void refcnt_tag(struct tag *tag, Modified: head/devel/dwarves/files/patch-strings.c ============================================================================== --- head/devel/dwarves/files/patch-strings.c Thu Jul 14 06:24:38 2016 (r418515) +++ head/devel/dwarves/files/patch-strings.c Thu Jul 14 06:34:55 2016 (r418516) @@ -1,13 +1,13 @@ ---- strings.c.orig 2012-03-20 16:17:25 UTC +--- strings.c.orig 2016-06-30 19:30:28 UTC +++ strings.c -@@ -39,7 +39,10 @@ void strings__delete(struct strings *sel +@@ -39,7 +39,10 @@ void strings__delete(struct strings *str { - if (self == NULL) + if (strs == NULL) return; +#if 0 + /* Our search.h doesn't implement tdestroy; leak for now. */ - tdestroy(self->tree, do_nothing); + tdestroy(strs->tree, do_nothing); +#endif - __gobuffer__delete(&self->gb); - free(self); + __gobuffer__delete(&strs->gb); + free(strs); }