aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tcplist
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-04-24 17:32:25 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-04-24 17:32:25 +0000
commit0658e2e2d2bc12245f3df94c17e4b123f6328ddb (patch)
treef96db095782de0e734c01b1989c88b66e211ebed /sysutils/tcplist
parent0c2bc77ec41a3ad078b4d2745cc7a179bbb9f946 (diff)
downloadports-0658e2e2d2bc12245f3df94c17e4b123f6328ddb.tar.gz
ports-0658e2e2d2bc12245f3df94c17e4b123f6328ddb.zip
Need to use htons() on the port number before calling getservicebyname().
(thanks Christopher!) Submitted by: Christopher Masto <chris@chris.netmonger.net>
Notes
Notes: svn path=/head/; revision=6289
Diffstat (limited to 'sysutils/tcplist')
-rw-r--r--sysutils/tcplist/files/patch-0115
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
+