summaryrefslogtreecommitdiff
path: root/net/ipdecap/files/patch-src_ipdecap.c
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-10-14 19:00:04 +0000
committerSteve Wills <swills@FreeBSD.org>2018-10-14 19:00:04 +0000
commit24da00280428c3a9107649a99ecd1444a0928322 (patch)
treefb46b211b7ec660db52144ee56765b323d39c8f4 /net/ipdecap/files/patch-src_ipdecap.c
parentmath/py-pandas: Update to 0.23.4 (diff)
net/ipdecap: update to 0.7.2
While here, fix OpenSSL build PR: 232223 Submitted by: loic-freebsd@loicp.eu (maintainer)
Diffstat (limited to 'net/ipdecap/files/patch-src_ipdecap.c')
-rw-r--r--net/ipdecap/files/patch-src_ipdecap.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/ipdecap/files/patch-src_ipdecap.c b/net/ipdecap/files/patch-src_ipdecap.c
new file mode 100644
index 000000000000..3890b0c57248
--- /dev/null
+++ b/net/ipdecap/files/patch-src_ipdecap.c
@@ -0,0 +1,18 @@
+--- src/ipdecap.c.orig 2018-07-19 13:30:02 UTC
++++ src/ipdecap.c
+@@ -20,6 +20,7 @@
+
+ #include <err.h> // for warnx
+ #include <getopt.h> // for getopt_long, optarg, required_argument
++#include <sys/types.h> // for u_char, u_int16_t
+ #include <net/ethernet.h> // for ether_header, ether_addr, ETHERTYPE_IP
+ #include <netinet/in.h> // for ntohs, htons, IPPROTO_ESP, IPPROTO_GRE
+ #include <netinet/ip.h> // for ip
+@@ -31,7 +32,6 @@
+ #include <stdio.h> // for NULL, printf
+ #include <stdlib.h> // for free, exit, EXIT_FAILURE, EXIT_SUCCESS
+ #include <string.h> // for memcpy, memset, strcmp
+-#include <sys/types.h> // for u_char, u_int16_t
+ #include "esp.h" // for flows_cleanup, parse_esp_conf, print_algor...
+ #include "gre.h" // for grehdr, GRE_CHECKSUM, GRE_KEY, GRE_ROUTING
+ #include "config.h"