diff options
author | agc <agc> | 2001-10-16 15:08:55 +0000 |
---|---|---|
committer | agc <agc> | 2001-10-16 15:08:55 +0000 |
commit | a4f1b4bd4e93163bc4ce902cf095cec405bcd14e (patch) | |
tree | a44225c5a5fa923982c9dd9c78d9c9a2d86f1388 /net/mtr/patches/patch-ad | |
parent | 72ce3494e20ed164491b37f94e1e90b3dbebbccb (diff) | |
download | pkgsrc-a4f1b4bd4e93163bc4ce902cf095cec405bcd14e.tar.gz |
Split this package into two - the original mtr uses a curses-based
interface, the mtr-gtk package uses gtk. For use in environments
which need mtr's functionality, but which are unlikely to have X11
installed, such as DMZ hosts, etc.
Patches by Andrew Brown, atatat@netbsd.org.
Diffstat (limited to 'net/mtr/patches/patch-ad')
-rw-r--r-- | net/mtr/patches/patch-ad | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/mtr/patches/patch-ad b/net/mtr/patches/patch-ad new file mode 100644 index 00000000000..d966b1bb22b --- /dev/null +++ b/net/mtr/patches/patch-ad @@ -0,0 +1,25 @@ +$NetBSD: patch-ad,v 1.1 2001/10/16 15:08:56 agc Exp $ + +Remove the gtk related options since we're not using gtk. + +--- mtr.c 2001/10/16 11:22:10 1.1 ++++ mtr.c 2001/10/16 11:23:02 +@@ -56,7 +56,6 @@ + { "report", 0, 0, 'r' }, + { "report-cycles", 1, 0, 'c' }, + { "curses", 0, 0, 't' }, +- { "gtk", 0, 0, 'g' }, + { "interval", 1, 0, 'i' }, + { "psize", 1, 0, 'p' }, + { "no-dns", 0, 0, 'n' }, +@@ -182,8 +181,8 @@ + } + + if(PrintHelp) { +- printf("usage: %s [-hvrctglsni] [--help] [--version] [--report]\n" +- "\t\t[--report-cycles=COUNT] [--curses] [--gtk]\n" ++ printf("usage: %s [-hvrctlsni] [--help] [--version] [--report]\n" ++ "\t\t[--report-cycles=COUNT] [--curses]\n" + "\t\t[--raw] [--split] [--no-dns]\n" /* BL */ + "\t\t[--psize=bytes/-p=bytes]\n" /* ok */ + "\t\t[--interval=SECONDS] HOSTNAME [PACKETSIZE]\n", argv[0]); |