Index: head/net/mtr/Makefile =================================================================== --- head/net/mtr/Makefile (revision 489205) +++ head/net/mtr/Makefile (revision 489206) @@ -1,46 +1,47 @@ # Created by: Bill Fumerola # $FreeBSD$ PORTNAME= mtr PORTVERSION= 0.92 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://www.bitwizard.nl/mtr/files/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Traceroute and ping in a single network diagnostic tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL?= mtr-nox11 OPTIONS_DEFINE= IPV6 X11 OPTIONS_DEFAULT=X11 X11_DESC= Build X11-enabled mtr USES= autoreconf ncurses pkgconfig GNU_CONFIGURE= yes LDFLAGS+= -lncurses IPV6_CATEGORIES= ipv6 IPV6_CONFIGURE_ENABLE= ipv6 X11_CONFIGURE_WITH= gtk X11_USE= GNOME=gtk20 X11_USES= gnome post-patch: @${REINPLACE_CMD} -e 's|getopt.*$$(OBJEXT)||g; s|getopt.*[ch]||g; /getopt.*Po/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])|${PORTVERSION}|' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|"getopt\.h"||g' ${WRKSRC}/ui/mtr.c post-install: @${ECHO_MSG} "" @${ECHO_MSG} "${PREFIX}/sbin/mtr is setuid \"root\" " @${ECHO_MSG} "" @${ECHO_MSG} "Please read about potential security issues" @${ECHO_MSG} "in file ${WRKSRC}/SECURITY (not installed)" @${ECHO_MSG} "" .include Index: head/net/mtr/files/patch-ui-mtr.c =================================================================== --- head/net/mtr/files/patch-ui-mtr.c (nonexistent) +++ head/net/mtr/files/patch-ui-mtr.c (revision 489206) @@ -0,0 +1,12 @@ +Obtained from: https://github.com/traviscross/mtr/commit/3649b04337d38725f58a3d8ebe7845cb7fa3cabf + +--- ui/mtr.c.orig 2017-02-05 07:27:33 UTC ++++ ui/mtr.c +@@ -301,6 +301,7 @@ static void init_fld_options( + ctl->available_options[i] = data_fields[i].key; + ctl->fld_index[data_fields[i].key] = i; + } ++ ctl->available_options[i++] = '_'; + ctl->available_options[i] = 0; + } + Property changes on: head/net/mtr/files/patch-ui-mtr.c ___________________________________________________________________ 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