From owner-svn-ports-all@freebsd.org Wed Jul 5 09:00:20 2017 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 4196CDA5D0A; Wed, 5 Jul 2017 09:00:20 +0000 (UTC) (envelope-from amdmi3@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 1B3E37840A; Wed, 5 Jul 2017 09:00:20 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6590JRR002531; Wed, 5 Jul 2017 09:00:19 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6590IJx002528; Wed, 5 Jul 2017 09:00:18 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201707050900.v6590IJx002528@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 5 Jul 2017 09:00:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445058 - in head/devel/libexecinfo: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/devel/libexecinfo: . files X-SVN-Commit-Revision: 445058 X-SVN-Commit-Repository: ports 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.23 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: Wed, 05 Jul 2017 09:00:20 -0000 Author: amdmi3 Date: Wed Jul 5 09:00:18 2017 New Revision: 445058 URL: https://svnweb.freebsd.org/changeset/ports/445058 Log: - Add LICENSE - Fix redundant CFLAGS - Switch to options helpers - Regenerate patches Modified: head/devel/libexecinfo/Makefile head/devel/libexecinfo/files/patch-Makefile head/devel/libexecinfo/files/patch-execinfo.c Modified: head/devel/libexecinfo/Makefile ============================================================================== --- head/devel/libexecinfo/Makefile Wed Jul 5 08:39:22 2017 (r445057) +++ head/devel/libexecinfo/Makefile Wed Jul 5 09:00:18 2017 (r445058) @@ -10,19 +10,20 @@ MASTER_SITES= LOCAL/itetcu MAINTAINER= ports@FreeBSD.org COMMENT= Library for inspecting program's backtrace -OPTIONS_DEFINE= DOCS +LICENSE= BSD2CLAUSE USES= tar:bzip2 uidfix USE_LDCONFIG= yes -CFLAGS= -fno-omit-frame-pointer MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ INCLUDEDIR=${PREFIX}/include +CFLAGS+= -fno-omit-frame-pointer + PORTDOCS= README -CFLAGS_amd64= -fno-omit-frame-pointer +OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} Modified: head/devel/libexecinfo/files/patch-Makefile ============================================================================== --- head/devel/libexecinfo/files/patch-Makefile Wed Jul 5 08:39:22 2017 (r445057) +++ head/devel/libexecinfo/files/patch-Makefile Wed Jul 5 09:00:18 2017 (r445058) @@ -1,6 +1,6 @@ ---- Makefile.orgi 2013-02-05 23:13:54.375834807 +0800 -+++ Makefile 2013-02-05 23:14:13.106833334 +0800 -@@ -34,6 +34,7 @@ +--- Makefile.orig 2004-07-19 05:19:55 UTC ++++ Makefile +@@ -34,6 +34,7 @@ SHLIB_MAJOR= 1 SHLIB_MINOR= 0 NOPROFILE= yes Modified: head/devel/libexecinfo/files/patch-execinfo.c ============================================================================== --- head/devel/libexecinfo/files/patch-execinfo.c Wed Jul 5 08:39:22 2017 (r445057) +++ head/devel/libexecinfo/files/patch-execinfo.c Wed Jul 5 09:00:18 2017 (r445058) @@ -1,6 +1,6 @@ ---- execinfo.c.orig +--- execinfo.c.orig 2004-07-19 05:21:09 UTC +++ execinfo.c -@@ -69,7 +69,8 @@ +@@ -69,7 +69,8 @@ backtrace(void **buffer, int size) char ** backtrace_symbols(void *const *buffer, int size) { @@ -10,7 +10,7 @@ char **rval; char *cp; Dl_info info; -@@ -78,7 +79,6 @@ +@@ -78,7 +79,6 @@ backtrace_symbols(void *const *buffer, i rval = malloc(clen); if (rval == NULL) return NULL; @@ -18,7 +18,7 @@ for (i = 0; i < size; i++) { if (dladdr(buffer[i], &info) != 0) { if (info.dli_sname == NULL) -@@ -92,14 +92,14 @@ +@@ -92,14 +92,14 @@ backtrace_symbols(void *const *buffer, i 2 + /* " <" */ strlen(info.dli_sname) + /* "function" */ 1 + /* "+" */ @@ -35,7 +35,7 @@ buffer[i], info.dli_sname, offset, info.dli_fname); } else { alen = 2 + /* "0x" */ -@@ -108,12 +108,15 @@ +@@ -108,12 +108,15 @@ backtrace_symbols(void *const *buffer, i rval = realloc_safe(rval, clen + alen); if (rval == NULL) return NULL; @@ -54,7 +54,7 @@ return rval; } -@@ -155,6 +158,6 @@ +@@ -155,6 +158,6 @@ backtrace_symbols_fd(void *const *buffer return; snprintf(buf, len, "%p\n", buffer[i]); }