Files
macports-ports/net/tcpick/files/fix-man-invocation.patch
Ryan Schmidt bcfc88fbde tcpick: Add patches from Debian
Fixes build failures, a CVE, and some other bugs.

Closes: https://trac.macports.org/ticket/63767
2021-11-02 20:09:53 -05:00

23 lines
670 B
Diff

Description: Fix man invocation
Upon startup, tcpick says:
.
important: `man 1 tcpick' explains all options available
.
but the man page is in section 8, not 1. This patch fixes that.
Bug-Debian: http://bugs.debian.org/265067
Origin: vendor
Author: Cédric Delfosse <cedric@debian.org>
Last-Update: 2004-08-18
--- a/src/args.c
+++ b/src/args.c
@@ -386,7 +386,7 @@
if(flags.versionandquit) {
color( c_USAGE, stdout, PACKAGE_STRING "\n"
" Author: " AUTHOR "\n"
- " for other info try `man 1 tcpick', or `%s --help'\n\n"
+ " for other info try `man tcpick', or `%s --help'\n\n"
TERMS ,TCPICK_NAME);
exit( TCPICK_SUCCESS );
}