Commits

Ryan Schmidt authored d0bab84bc16
fragroute: fix compilation with latest libevent; see https://trac.macports.org/ticket/30163

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@80552 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

net/fragroute/files/fragroute.c.patch

Added
1 +http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fragroute/files/1.2-libevent.patch
2 +--- fragroute.c.orig 2002-04-08 00:55:20.000000000 +0200
3 ++++ fragroute.c 2010-02-03 21:23:21.451754240 +0100
4 +@@ -36,10 +36,6 @@
5 +
6 + static struct fr_ctx ctx;
7 +
8 +-/* XXX - these should be in event.h */
9 +-extern int (*event_sigcb)(void);
10 +-extern int event_gotsig;
11 +-
12 + static void
13 + usage(void)
14 + {
15 +@@ -140,7 +136,6 @@
16 + fragroute_signal(DWORD sig)
17 + {
18 + warnx("exiting at user request");
19 +- event_gotsig++;
20 + return (TRUE);
21 + }
22 + #else
23 +@@ -148,7 +143,6 @@
24 + fragroute_signal(int sig)
25 + {
26 + warnx("exiting on signal %d", sig);
27 +- event_gotsig++;
28 + }
29 + #endif
30 +
31 +@@ -178,7 +172,6 @@
32 + pkt_init(128);
33 +
34 + event_init();
35 +- event_sigcb = fragroute_close;
36 +
37 + if ((ctx.arp = arp_open()) == NULL ||
38 + (ctx.intf = intf_open()) == NULL ||

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut