summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-16 21:00:16 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-16 21:00:16 +0000
commit89b4bc3b2140bbca6e6656d6403ad72cd51e8777 (patch)
tree1b33931378470013e1117119adfe8b38b982bd56 /net-analyzer/fragroute/files
parentwhitespace (diff)
downloadgentoo-2-89b4bc3b2140bbca6e6656d6403ad72cd51e8777.tar.gz
gentoo-2-89b4bc3b2140bbca6e6656d6403ad72cd51e8777.tar.bz2
gentoo-2-89b4bc3b2140bbca6e6656d6403ad72cd51e8777.zip
Fixed compilation agianst newer libevent, #295877
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/fragroute/files')
-rw-r--r--net-analyzer/fragroute/files/1.2-libevent.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-analyzer/fragroute/files/1.2-libevent.patch b/net-analyzer/fragroute/files/1.2-libevent.patch
new file mode 100644
index 000000000000..64a30baebeb1
--- /dev/null
+++ b/net-analyzer/fragroute/files/1.2-libevent.patch
@@ -0,0 +1,20 @@
+diff --git a/fragroute.c b/fragroute.c
+index dc07ce3..29d1007 100644
+--- a/fragroute.c
++++ b/fragroute.c
+@@ -148,7 +148,6 @@ static void
+ fragroute_signal(int sig)
+ {
+ warnx("exiting on signal %d", sig);
+- event_gotsig++;
+ }
+ #endif
+
+@@ -178,7 +177,6 @@ fragroute_init(const char *dst)
+ pkt_init(128);
+
+ event_init();
+- event_sigcb = fragroute_close;
+
+ if ((ctx.arp = arp_open()) == NULL ||
+ (ctx.intf = intf_open()) == NULL ||