Add missing includes: from Markus Lude.

Add a @bin marker to PLIST, bump.

OK landry@
This commit is contained in:
dcoppa 2010-09-22 15:20:33 +00:00
parent d06fd0ffcb
commit 4f29a8c683
4 changed files with 30 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.11 2010/07/12 22:07:41 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2010/09/22 15:20:33 dcoppa Exp $
COMMENT= network traffic viewer
DISTNAME= pktstat-1.8.4
REVISION= 0
REVISION= 1
CATEGORIES= net
HOMEPAGE= http://www.adaptive-enterprises.com.au/~d/software/pktstat/

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-loop_c,v 1.1 2010/09/22 15:20:33 dcoppa Exp $
--- loop.c.orig Sat Nov 11 14:32:16 2006
+++ loop.c Tue Sep 7 15:10:47 2010
@@ -15,6 +15,9 @@
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#if HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-sll_c,v 1.1 2010/09/22 15:20:33 dcoppa Exp $
--- sll.c.orig Fri Nov 10 06:34:54 2006
+++ sll.c Tue Sep 7 15:11:16 2010
@@ -17,6 +17,9 @@
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#if HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.3 2006/06/05 15:57:08 couderc Exp $
bin/pktstat
@comment $OpenBSD: PLIST,v 1.4 2010/09/22 15:20:33 dcoppa Exp $
@bin bin/pktstat
@man man/man1/pktstat.1