aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/driftnet
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-29 05:19:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-29 05:19:53 +0000
commit7ba7a368c1a1b5cb0acdffb0500f19df0f2b26ea (patch)
tree2676bc108af855a00a74984a9235413aa3a41207 /net-mgmt/driftnet
parent3cbc3e93394a9adc720e10dc3e853bd3c7cc991e (diff)
downloadports-7ba7a368c1a1b5cb0acdffb0500f19df0f2b26ea.tar.gz
ports-7ba7a368c1a1b5cb0acdffb0500f19df0f2b26ea.zip
Fix build (4.x doesn't have <stdint.h>)
Notes
Notes: svn path=/head/; revision=67218
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 ed4720a3fa2b..1701d03937cf 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