diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch')
-rw-r--r-- | sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch new file mode 100644 index 000000000000..184ab6f31bc4 --- /dev/null +++ b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch @@ -0,0 +1,17 @@ +--- contrib/pf/pflogd/privsep.c.old 2011-11-02 21:04:01.000000000 +0000 ++++ contrib/pf/pflogd/privsep.c 2011-11-02 21:04:27.000000000 +0000 +@@ -32,11 +32,13 @@ + #include <errno.h> + #include <fcntl.h> + #include <limits.h> ++#include <stdio.h> ++#define HAVE_SNPRINTF ++#define HAVE_STRLCPY + #include <pcap.h> + #include <pcap-int.h> + #include <pwd.h> + #include <signal.h> +-#include <stdio.h> + #include <stdlib.h> + #include <string.h> + #include <syslog.h> |