aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dsniff/01_time.h.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-09-29 12:30:58 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-09-29 12:31:09 +0000
commit526d616a09c1191b1b8ed13998538af2c2040d89 (patch)
tree44b52145e0a7f38a1530db765d9e72e669fec861 /testing/dsniff/01_time.h.patch
parent0dba7bc25a37335d5bd351b3d073aff1e5c9eef7 (diff)
downloadaports-526d616a09c1191b1b8ed13998538af2c2040d89.tar.bz2
aports-526d616a09c1191b1b8ed13998538af2c2040d89.tar.xz
testing/dsniff: new aport
Diffstat (limited to 'testing/dsniff/01_time.h.patch')
-rw-r--r--testing/dsniff/01_time.h.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/dsniff/01_time.h.patch b/testing/dsniff/01_time.h.patch
new file mode 100644
index 0000000000..1cf570b070
--- /dev/null
+++ b/testing/dsniff/01_time.h.patch
@@ -0,0 +1,23 @@
+Author: Steve Kemp <skx@debian.org>
+Description: Include <time.h> to fix segfault on some architectures.
+Closes #315969
+--- a/msgsnarf.c 2011-06-19 17:14:25.023999385 -0500
++++ b/msgsnarf.c 2011-06-19 17:14:56.475999377 -0500
+@@ -23,6 +23,7 @@
+ #include <nids.h>
+ #include <pcap.h>
+ #include <pcaputil.h>
++#include <time.h>
+
+ #include "buf.h"
+ #include "decode.h"
+--- a/sshow.c 2011-06-19 17:14:24.843999385 -0500
++++ b/sshow.c 2011-06-19 17:14:56.475999377 -0500
+@@ -15,6 +15,7 @@
+
+ #include <sys/types.h>
+ #include <sys/times.h>
++#include <time.h>
+
+ #include <netinet/in_systm.h>
+ #include <netinet/in.h>