openbsd-ports/net/py-libpcap/patches/patch-setup_py
steven 34f7aa4486 update to 0.6.2
fixes build with the recently updated swig (noticed by sturm and naddy)
2008-11-04 22:38:52 +00:00

13 lines
545 B
Plaintext

$OpenBSD: patch-setup_py,v 1.4 2008/11/04 22:38:52 steven Exp $
--- setup.py.orig Sat Jan 26 04:45:50 2008
+++ setup.py Mon Nov 3 22:01:22 2008
@@ -151,7 +151,7 @@ defines = [ ('SWIG_COBJECT_TYPES', None) ] + \
map(lambda x: (x, None), config_defines)
if libpcap_dir is None:
- pcap_extension = Extension("_pcapmodule",
+ pcap_extension = Extension("_pcap",
sourcefiles,
include_dirs = include_dirs,
define_macros = defines,