Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/tcpreplay/files: tcpreplay-3.4.1-errx-exit.patch
Date: Sun, 05 Apr 2009 19:14:24
Message-Id: E1LqXnS-0006OX-Rc@stork.gentoo.org
1 pva 09/04/05 19:14:22
2
3 Added: tcpreplay-3.4.1-errx-exit.patch
4 Log:
5 Version bump, bug #261201, thank DrChandra the Gentoo Person for report. Fixes statical linking with libpcap and make sure we don't use bundled libopts, bug #252940, thank Diego E. 'Flameeyes' Pettenò for report.
6 (Portage version: 2.2_rc28/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch?rev=1.1&content-type=text/plain
13
14 Index: tcpreplay-3.4.1-errx-exit.patch
15 ===================================================================
16 * QA Notice: Package has poor programming practices which may compile
17 * fine but exhibit random runtime failures.
18 * xX.c:101: warning: implicit declaration of function 'exit'
19 * tcpdump.c:93: warning: implicit declaration of function 'exit'
20 * signal_handler.c:91: warning: implicit declaration of function 'exit'
21 * sleep.c:65: warning: implicit declaration of function 'exit'
22 * signal_handler.c:91: warning: implicit declaration of function 'exit'
23 * sleep.c:65: warning: implicit declaration of function 'exit'
24 * sleep.c:65: warning: implicit declaration of function 'exit'
25
26 === modified file 'src/common/err.h'
27 --- src/common/err.h 2009-04-03 11:02:19 +0000
28 +++ src/common/err.h 2009-04-03 11:06:00 +0000
29 @@ -50,6 +50,8 @@
30 extern int debug;
31 #endif
32
33 +#include <stdlib.h>
34 +
35 /*
36 * We define five functions for reporting errors, warnings and debug messages:
37 * err() - Fatal error. Pass exit code followed by static string