summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-09-21 18:53:37 +0000
committerarved <arved@FreeBSD.org>2005-09-21 18:53:37 +0000
commit81f933f9fa41d8be56774a57b1219be4849d95c5 (patch)
tree6ed4cc065d28aa115e2157b819ed6c5a94e64c4d /net-mgmt
parent9f75cb0af3895831d8e0fb8989770fc42cc871ef (diff)
downloadFreeBSD-ports-81f933f9fa41d8be56774a57b1219be4849d95c5.zip
FreeBSD-ports-81f933f9fa41d8be56774a57b1219be4849d95c5.tar.gz
Fix swig interface file to work with swig13
PR: 86152 Submitted by: Soeren Straarup <xride@x12.dk>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/py-yapsnmp/files/patch-src-net-snmp.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-mgmt/py-yapsnmp/files/patch-src-net-snmp.i b/net-mgmt/py-yapsnmp/files/patch-src-net-snmp.i
new file mode 100644
index 0000000..6800fbc
--- /dev/null
+++ b/net-mgmt/py-yapsnmp/files/patch-src-net-snmp.i
@@ -0,0 +1,17 @@
+--- src/net-snmp.i.orig Wed Sep 21 20:50:18 2005
++++ src/net-snmp.i Wed Sep 21 20:50:35 2005
+@@ -11,10 +11,10 @@
+
+ // A few type definitions to clarify what to do
+
+-typedef unsigned long size_t
+-typedef char u_char
+-typedef unsigned long u_long
+-typedef unsigned short u_short
++typedef unsigned long size_t;
++typedef char u_char;
++typedef unsigned long u_long;
++typedef unsigned short u_short;
+
+ // Includes for both the C code and to generate the interface
+
OpenPOWER on IntegriCloud