diff options
Diffstat (limited to 'sys-freebsd/freebsd-pf/files/freebsd-pf-7.0-pcap_pollution.patch')
-rw-r--r-- | sys-freebsd/freebsd-pf/files/freebsd-pf-7.0-pcap_pollution.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-7.0-pcap_pollution.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-7.0-pcap_pollution.patch new file mode 100644 index 000000000000..4a7c2e9a0e46 --- /dev/null +++ b/sys-freebsd/freebsd-pf/files/freebsd-pf-7.0-pcap_pollution.patch @@ -0,0 +1,18 @@ +--- contrib/pf/pflogd/privsep.c.orig 2007-07-03 09:30:02 -0300 ++++ contrib/pf/pflogd/privsep.c 2008-06-13 23:55:39 -0300 +@@ -31,13 +31,14 @@ + #include <errno.h> + #include <fcntl.h> + #include <limits.h> ++#include <stdio.h> ++#define HAVE_SNPRINTF + #ifndef __FreeBSD__ + #include <pcap.h> + #include <pcap-int.h> + #endif + #include <pwd.h> + #include <signal.h> +-#include <stdio.h> + #include <stdlib.h> + #include <string.h> + #ifdef __FreeBSD__ |