summaryrefslogtreecommitdiffstats
path: root/net-mgmt/driftnet
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-29 05:19:53 +0000
committerkris <kris@FreeBSD.org>2002-09-29 05:19:53 +0000
commitdf4c01fc0e4e75eaf2343c12f038e63901621d99 (patch)
tree27c14e2fa2873fb92e94a8bfb7ab709e08611ed4 /net-mgmt/driftnet
parenta0fd01d19e757c7605165fbe62500cf9138e1b1d (diff)
downloadFreeBSD-ports-df4c01fc0e4e75eaf2343c12f038e63901621d99.zip
FreeBSD-ports-df4c01fc0e4e75eaf2343c12f038e63901621d99.tar.gz
Fix build (4.x doesn't have <stdint.h>)
Diffstat (limited to 'net-mgmt/driftnet')
-rw-r--r--net-mgmt/driftnet/files/patch-Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/net-mgmt/driftnet/files/patch-Makefile b/net-mgmt/driftnet/files/patch-Makefile
index ed4720a..1701d03 100644
--- a/net-mgmt/driftnet/files/patch-Makefile
+++ b/net-mgmt/driftnet/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Jul 9 21:26:41 2002
-+++ Makefile Tue Aug 20 02:33:18 2002
+--- Makefile.orig Tue Jul 9 12:26:41 2002
++++ Makefile Sat Sep 28 22:19:21 2002
@@ -16,23 +16,23 @@
#CC = gcc
@@ -31,6 +31,15 @@
# Alternatively, you can build a version of driftnet which can only be used
# in `adjunct' mode as the back end for some other image-processing program. To
+@@ -43,7 +43,7 @@
+ # On systems with a C99 compiler, driftnet will use <stdint.h> for the
+ # definitions of types such as uint8_t. On other systems like Solaris, these
+ # are in <sys/types.h>, and you should uncomment this line.
+-#CFLAGS += -DUSE_SYS_TYPES_H
++CFLAGS += -DUSE_SYS_TYPES_H
+
+ # On Solaris, it is necessary to link against -lposix4 for the definition of
+ # nanosleep; uncomment the below.
@@ -51,7 +51,7 @@
# added 20020604 edobbs
OpenPOWER on IntegriCloud