aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/fix-udpdump.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-10-23 10:14:29 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-10-23 10:18:42 +0000
commit172c0bd3e6c3e2b6dab46dae04008d430f0d44a5 (patch)
treebde35489fe8c6627dfd2ad928a58a26d7ad5b197 /community/wireshark/fix-udpdump.patch
parent12d9789f2dde29b5c9b3746ab035bf42f6ba8bb6 (diff)
downloadaports-172c0bd3e6c3e2b6dab46dae04008d430f0d44a5.tar.gz
aports-172c0bd3e6c3e2b6dab46dae04008d430f0d44a5.tar.bz2
aports-172c0bd3e6c3e2b6dab46dae04008d430f0d44a5.tar.xz
community/wireshark: security upgrade to 2.4.2
Diffstat (limited to 'community/wireshark/fix-udpdump.patch')
-rw-r--r--community/wireshark/fix-udpdump.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/wireshark/fix-udpdump.patch b/community/wireshark/fix-udpdump.patch
new file mode 100644
index 0000000000..a75a7851ea
--- /dev/null
+++ b/community/wireshark/fix-udpdump.patch
@@ -0,0 +1,13 @@
+--- a/extcap/udpdump.c
++++ b/extcap/udpdump.c
+@@ -56,6 +56,10 @@
+ #include <wsutil/inet_addr.h>
+ #include <wsutil/filesystem.h>
+
++#ifdef HAVE_SYS_TIME_H
++ #include <sys/time.h>
++#endif
++
+ #define PCAP_SNAPLEN 0xffff
+
+ #define UDPDUMP_DEFAULT_PORT 5555