Index: head/MOVED =================================================================== --- head/MOVED +++ head/MOVED @@ -9547,3 +9547,4 @@ sysutils/filelight-kde4|sysutils/filelight|2017-09-16|Renamed to sysutils/filelight security/gnupg22|security/gnupg|2017-09-19|Removed, security/gnupg is now gnupg22 mail/milter-greylist-devel|mail/milter-greylist|2017-09-22|Has expired: mail/milter-greylist provides same version and options +devel/libexecinfo||2017-09-22|Is present in the base system of all supported releases Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -1374,7 +1374,6 @@ SUBDIR += libevt SUBDIR += libevtx SUBDIR += libewf - SUBDIR += libexecinfo SUBDIR += libexplain SUBDIR += libfaketime SUBDIR += libfastcommon Index: head/devel/libexecinfo/Makefile =================================================================== --- head/devel/libexecinfo/Makefile +++ head/devel/libexecinfo/Makefile @@ -1,30 +0,0 @@ -# Created by: Maxim Sobolev -# $FreeBSD$ - -PORTNAME= libexecinfo -PORTVERSION= 1.1 -PORTREVISION= 3 -CATEGORIES= devel -MASTER_SITES= LOCAL/itetcu - -MAINTAINER= ports@FreeBSD.org -COMMENT= Library for inspecting program's backtrace - -LICENSE= BSD2CLAUSE - -USES= tar:bzip2 uidfix -USE_LDCONFIG= yes -MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ - INCLUDEDIR=${PREFIX}/include - -CFLAGS+= -fno-omit-frame-pointer - -PORTDOCS= README - -OPTIONS_DEFINE= DOCS - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -.include Index: head/devel/libexecinfo/distinfo =================================================================== --- head/devel/libexecinfo/distinfo +++ head/devel/libexecinfo/distinfo @@ -1,2 +0,0 @@ -SHA256 (libexecinfo-1.1.tar.bz2) = c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f -SIZE (libexecinfo-1.1.tar.bz2) = 4841 Index: head/devel/libexecinfo/files/patch-Makefile =================================================================== --- head/devel/libexecinfo/files/patch-Makefile +++ head/devel/libexecinfo/files/patch-Makefile @@ -1,10 +0,0 @@ ---- Makefile.orig 2004-07-19 05:19:55 UTC -+++ Makefile -@@ -34,6 +34,7 @@ SHLIB_MAJOR= 1 - SHLIB_MINOR= 0 - - NOPROFILE= yes -+NO_PROFILE= yes - - DPADD= ${LIBM} - LDADD= -lm Index: head/devel/libexecinfo/files/patch-execinfo.c =================================================================== --- head/devel/libexecinfo/files/patch-execinfo.c +++ head/devel/libexecinfo/files/patch-execinfo.c @@ -1,64 +0,0 @@ ---- execinfo.c.orig 2004-07-19 05:21:09 UTC -+++ execinfo.c -@@ -69,7 +69,8 @@ backtrace(void **buffer, int size) - char ** - backtrace_symbols(void *const *buffer, int size) - { -- int i, clen, alen, offset; -+ size_t clen, alen; -+ int i, offset; - char **rval; - char *cp; - Dl_info info; -@@ -78,7 +79,6 @@ backtrace_symbols(void *const *buffer, i - rval = malloc(clen); - if (rval == NULL) - return NULL; -- (char **)cp = &(rval[size]); - for (i = 0; i < size; i++) { - if (dladdr(buffer[i], &info) != 0) { - if (info.dli_sname == NULL) -@@ -92,14 +92,14 @@ backtrace_symbols(void *const *buffer, i - 2 + /* " <" */ - strlen(info.dli_sname) + /* "function" */ - 1 + /* "+" */ -- D10(offset) + /* "offset */ -+ 10 + /* "offset */ - 5 + /* "> at " */ - strlen(info.dli_fname) + /* "filename" */ - 1; /* "\0" */ - rval = realloc_safe(rval, clen + alen); - if (rval == NULL) - return NULL; -- snprintf(cp, alen, "%p <%s+%d> at %s", -+ snprintf((char *) rval + clen, alen, "%p <%s+%d> at %s", - buffer[i], info.dli_sname, offset, info.dli_fname); - } else { - alen = 2 + /* "0x" */ -@@ -108,12 +108,15 @@ backtrace_symbols(void *const *buffer, i - rval = realloc_safe(rval, clen + alen); - if (rval == NULL) - return NULL; -- snprintf(cp, alen, "%p", buffer[i]); -+ snprintf((char *) rval + clen, alen, "%p", buffer[i]); - } -- rval[i] = cp; -- cp += alen; -+ rval[i] = (char *) clen; -+ clen += alen; - } - -+ for (i = 0; i < size; i++) -+ rval[i] += (long) rval; -+ - return rval; - } - -@@ -155,6 +158,6 @@ backtrace_symbols_fd(void *const *buffer - return; - snprintf(buf, len, "%p\n", buffer[i]); - } -- write(fd, buf, len - 1); -+ write(fd, buf, strlen(buf)); - } - } Index: head/devel/libexecinfo/pkg-descr =================================================================== --- head/devel/libexecinfo/pkg-descr +++ head/devel/libexecinfo/pkg-descr @@ -1,6 +0,0 @@ -This is a quick-n-dirty BSD licensed clone of backtrace facility found -in the GNU libc, mainly intended for porting Linuxish code to BSD -platforms, however it can be used at any platform which has a gcc -compiler. - -WWW: http://www.gnu.org/software/libc/manual/html_node/Backtraces.html Index: head/devel/libexecinfo/pkg-plist =================================================================== --- head/devel/libexecinfo/pkg-plist +++ head/devel/libexecinfo/pkg-plist @@ -1,4 +0,0 @@ -include/execinfo.h -lib/libexecinfo.a -lib/libexecinfo.so -lib/libexecinfo.so.1