ettercap: Fix parallel build
[openwrt/svn-archive/archive.git] / lang / pypcap / patches / 001-python2_5.patch
1 --- pypcap-1.1-old/pcap.pyx 2005-10-16 18:00:11.000000000 -0500
2 +++ pypcap-1.1/pcap.pyx 2007-06-12 11:11:41.000000000 -0500
3 @@ -285,7 +285,7 @@
4 <unsigned char *>&ctx)
5 if ctx.got_exc:
6 exc = sys.exc_info()
7 - raise exc[0], exc[1], exc[2]
8 + raise OSError, "%s [%s]" % (exc[0], exc[1]), exc[2]
9 return n
10
11 def loop(self, callback, *args):