openbsd-ports/sysutils/tcplist/patches/patch-tcplist_c
sthen 5c54bb26a9 - add upstream patches (missing ntohl, adjust lsof parsing)
- add missing prototype
- unbreak lsof command line
- mark BROKEN on lp64

considering between these problems this port was totally useless, so
presumably nobody actually uses this and is a good candidate for removal.
2012-01-17 17:08:16 +00:00

12 lines
345 B
Plaintext

$OpenBSD: patch-tcplist_c,v 1.1 2012/01/17 17:08:16 sthen Exp $
--- tcplist.c.orig Tue Jan 17 16:53:51 2012
+++ tcplist.c Tue Jan 17 16:54:02 2012
@@ -24,6 +24,7 @@ static char rcsid[] = "$Id: tcplist.c,v 1.17 1997/04/2
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <ctype.h>