aboutsummaryrefslogtreecommitdiff
path: root/net/py-pcap
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-03-19 08:36:37 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-03-19 08:36:37 +0000
commit612f3f0db2ae5dfe635770df87e23f0814ec9793 (patch)
tree9dae0a9fc449fe91aec1597a73f91c599955c7b8 /net/py-pcap
parentc13b03b1a6954ed96bfd31f27762fcd216514445 (diff)
Notes
Diffstat (limited to 'net/py-pcap')
-rw-r--r--net/py-pcap/files/patch-mk-constants.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/py-pcap/files/patch-mk-constants.py b/net/py-pcap/files/patch-mk-constants.py
new file mode 100644
index 000000000000..a04f8e57d855
--- /dev/null
+++ b/net/py-pcap/files/patch-mk-constants.py
@@ -0,0 +1,10 @@
+--- mk-constants.py.orig Sun Mar 19 17:21:07 2006
++++ mk-constants.py Sun Mar 19 17:21:41 2006
+@@ -79,6 +79,7 @@
+ rcs = ' $Id: mk-constants.py,v 1.2 2004/06/07 05:34:49 wiml Exp $\n'
+ fp.write(string.replace(rcs, '$', ''))
+ fp.write(' Do not edit this file directly, it will be overwritten \n*/\n\n')
++fp.write('#define SWIG_PY_INT 1\n')
+ fp.write('static struct swig_const_info const pcapmodule_DLT[] = {\n')
+ for dlt in linktypes:
+ fp.write('#ifdef %s\n' % (dlt,))