forked from Lainports/freebsd-ports
Fix MTR_OPTIONS parsing
- Bump PORTREVISION for package change
Reported by: Zeus Panchenko <zeus@ibs.dn.ua>
Obtained from: 3649b04337
This commit is contained in:
parent
7e1c0bb6d2
commit
46480ea4b6
2 changed files with 13 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= mtr
|
||||
PORTVERSION= 0.92
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://www.bitwizard.nl/mtr/files/ \
|
||||
LOCAL/sunpoet
|
||||
|
|
|
|||
12
net/mtr/files/patch-ui-mtr.c
Normal file
12
net/mtr/files/patch-ui-mtr.c
Normal file
|
|
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue