aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dsniff/01_time.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/dsniff/01_time.h.patch')
-rw-r--r--unmaintained/dsniff/01_time.h.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/unmaintained/dsniff/01_time.h.patch b/unmaintained/dsniff/01_time.h.patch
new file mode 100644
index 0000000000..1cf570b070
--- /dev/null
+++ b/unmaintained/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>