Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2019 19:57:16 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489206 - in head/net/mtr: . files
Message-ID:  <201901031957.x03JvG74056804@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jan  3 19:57:16 2019
New Revision: 489206
URL: https://svnweb.freebsd.org/changeset/ports/489206

Log:
  Fix MTR_OPTIONS parsing
  
  - Bump PORTREVISION for package change
  
  Reported by:	Zeus Panchenko <zeus@ibs.dn.ua>
  Obtained from:	https://github.com/traviscross/mtr/commit/3649b04337d38725f58a3d8ebe7845cb7fa3cabf

Added:
  head/net/mtr/files/
  head/net/mtr/files/patch-ui-mtr.c   (contents, props changed)
Modified:
  head/net/mtr/Makefile

Modified: head/net/mtr/Makefile
==============================================================================
--- head/net/mtr/Makefile	Thu Jan  3 19:57:11 2019	(r489205)
+++ head/net/mtr/Makefile	Thu Jan  3 19:57:16 2019	(r489206)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mtr
 PORTVERSION=	0.92
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://www.bitwizard.nl/mtr/files/ \
 		LOCAL/sunpoet

Added: head/net/mtr/files/patch-ui-mtr.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mtr/files/patch-ui-mtr.c	Thu Jan  3 19:57:16 2019	(r489206)
@@ -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;
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901031957.x03JvG74056804>