aports/testing/dsniff/09_sysconf_clocks.patch
2015-09-29 12:31:09 +00:00

21 lines
534 B
Diff

Author: <kees@ubuntu.com>
Description: Fix FTBFS: ./sshow.c:226: error: 'CLK_TCK' undeclared.
--- a/sshow.c 2011-06-19 17:15:01.099999376 -0500
+++ b/sshow.c 2011-06-19 17:15:16.175999374 -0500
@@ -217,6 +217,7 @@
{
clock_t delay;
int payload;
+ long CLK_TCK= sysconf(_SC_CLK_TCK);
delay = add_history(session, 0, cipher_size, plain_range);
@@ -265,6 +266,7 @@
clock_t delay;
int skip;
range string_range;
+ long CLK_TCK= sysconf(_SC_CLK_TCK);
delay = add_history(session, 1, cipher_size, plain_range);