From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/fragroute/files: 1.2-libevent.patch |
Date: | Tue, 16 Feb 2010 21:00:18 |
Message-Id: | E1NhUWm-0001o6-Mj@stork.gentoo.org |
1 | jlec 10/02/16 21:00:16 |
2 | |
3 | Added: 1.2-libevent.patch |
4 | Log: |
5 | Fixed compilation agianst newer libevent, #295877 |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/fragroute/files/1.2-libevent.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fragroute/files/1.2-libevent.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fragroute/files/1.2-libevent.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 1.2-libevent.patch |
15 | =================================================================== |
16 | diff --git a/fragroute.c b/fragroute.c |
17 | index dc07ce3..29d1007 100644 |
18 | --- a/fragroute.c |
19 | +++ b/fragroute.c |
20 | @@ -148,7 +148,6 @@ static void |
21 | fragroute_signal(int sig) |
22 | { |
23 | warnx("exiting on signal %d", sig); |
24 | - event_gotsig++; |
25 | } |
26 | #endif |
27 | |
28 | @@ -178,7 +177,6 @@ fragroute_init(const char *dst) |
29 | pkt_init(128); |
30 | |
31 | event_init(); |
32 | - event_sigcb = fragroute_close; |
33 | |
34 | if ((ctx.arp = arp_open()) == NULL || |
35 | (ctx.intf = intf_open()) == NULL || |