From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/arpd/files: arpd-0.2-libevent.patch |
Date: | Tue, 16 Feb 2010 21:08:19 |
Message-Id: | E1NhUeW-00029o-My@stork.gentoo.org |
1 | jlec 10/02/16 21:08:16 |
2 | |
3 | Added: arpd-0.2-libevent.patch |
4 | Log: |
5 | Fixed compilation agianst newer libevent, #295746 |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/arpd/files/arpd-0.2-libevent.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/arpd/files/arpd-0.2-libevent.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/arpd/files/arpd-0.2-libevent.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: arpd-0.2-libevent.patch |
15 | =================================================================== |
16 | --- arpd.orig/arpd.c 2010-02-03 20:03:07.098748175 +0100 |
17 | +++ arpd/arpd.c 2010-02-03 20:06:24.469749941 +0100 |
18 | @@ -445,9 +445,6 @@ |
19 | void |
20 | terminate_handler(int sig) |
21 | { |
22 | - extern int event_gotsig; |
23 | - |
24 | - event_gotsig = 1; |
25 | arpd_sig = sig; |
26 | } |
27 | |
28 | @@ -464,7 +461,6 @@ |
29 | main(int argc, char *argv[]) |
30 | { |
31 | struct event recv_ev; |
32 | - extern int (*event_sigcb)(void); |
33 | char *dev; |
34 | int c, debug; |
35 | FILE *fp; |
36 | @@ -524,7 +520,6 @@ |
37 | perror("signal"); |
38 | return (-1); |
39 | } |
40 | - event_sigcb = arpd_signal; |
41 | |
42 | event_dispatch(); |