Gentoo Archives: gentoo-commits

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:03:37
Message-Id: E1NhUZy-0001xf-Vq@stork.gentoo.org
1 jlec 10/02/16 21:03:34
2
3 Modified: 1.2-libevent.patch
4 Log:
5 Slightly updated patch, thanks Kacper Kowalik (Xarthisius) for providing the patch
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 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.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fragroute/files/1.2-libevent.patch?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fragroute/files/1.2-libevent.patch?r1=1.1&r2=1.2
14
15 Index: 1.2-libevent.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/files/1.2-libevent.patch,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- 1.2-libevent.patch 16 Feb 2010 21:00:16 -0000 1.1
22 +++ 1.2-libevent.patch 16 Feb 2010 21:03:34 -0000 1.2
23 @@ -1,8 +1,25 @@
24 -diff --git a/fragroute.c b/fragroute.c
25 -index dc07ce3..29d1007 100644
26 ---- a/fragroute.c
27 -+++ b/fragroute.c
28 -@@ -148,7 +148,6 @@ static void
29 +--- fragroute-1.2.orig/fragroute.c 2002-04-08 00:55:20.000000000 +0200
30 ++++ fragroute-1.2/fragroute.c 2010-02-03 21:23:21.451754240 +0100
31 +@@ -36,10 +36,6 @@
32 +
33 + static struct fr_ctx ctx;
34 +
35 +-/* XXX - these should be in event.h */
36 +-extern int (*event_sigcb)(void);
37 +-extern int event_gotsig;
38 +-
39 + static void
40 + usage(void)
41 + {
42 +@@ -140,7 +136,6 @@
43 + fragroute_signal(DWORD sig)
44 + {
45 + warnx("exiting at user request");
46 +- event_gotsig++;
47 + return (TRUE);
48 + }
49 + #else
50 +@@ -148,7 +143,6 @@
51 fragroute_signal(int sig)
52 {
53 warnx("exiting on signal %d", sig);
54 @@ -10,7 +27,7 @@
55 }
56 #endif
57
58 -@@ -178,7 +177,6 @@ fragroute_init(const char *dst)
59 +@@ -178,7 +172,6 @@
60 pkt_init(128);
61
62 event_init();