diff options
author | obrien <obrien@FreeBSD.org> | 1997-04-25 01:32:25 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-04-25 01:32:25 +0800 |
commit | b392700471493099b5dfca408ff290f2a0fd5fea (patch) | |
tree | d13363c8af2e7c28be1f8246c8446250397ec47e | |
parent | 59a2bd01f37d710d9fe0713f1ae8da6a808e518f (diff) | |
download | freebsd-ports-gnome-b392700471493099b5dfca408ff290f2a0fd5fea.tar.gz freebsd-ports-gnome-b392700471493099b5dfca408ff290f2a0fd5fea.tar.zst freebsd-ports-gnome-b392700471493099b5dfca408ff290f2a0fd5fea.zip |
Need to use htons() on the port number before calling getservicebyname().
(thanks Christopher!)
Submitted by: Christopher Masto <chris@chris.netmonger.net>
-rw-r--r-- | sysutils/tcplist/files/patch-01 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sysutils/tcplist/files/patch-01 b/sysutils/tcplist/files/patch-01 index 1bc169c506e6..e9abe9ee6291 100644 --- a/sysutils/tcplist/files/patch-01 +++ b/sysutils/tcplist/files/patch-01 @@ -1,5 +1,5 @@ ---- Makefile.orig Mon Apr 14 18:06:02 1997 -+++ Makefile Mon Apr 14 18:08:48 1997 +--- Makefile.orig Thu Apr 24 09:33:17 1997 ++++ Makefile Thu Apr 24 10:02:39 1997 @@ -1,14 +1,16 @@ # Compiler: eg. cc or gcc CC = cc @@ -47,3 +47,14 @@ # # If you're using an old version of lsof, uncomment this: +@@ -76,8 +78,8 @@ + RM = /bin/rm -rf + CP = /bin/cp + CHMOD = /bin/chmod +-CHOWN = /bin/chown +-CHGRP = /bin/chgrp ++CHOWN = /usr/sbin/chown ++CHGRP = /usr/bin/chgrp + + all:: tcplist + |