aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-yapsnmp
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-09-22 02:53:37 +0800
committerarved <arved@FreeBSD.org>2005-09-22 02:53:37 +0800
commit81f933f9fa41d8be56774a57b1219be4849d95c5 (patch)
tree6ed4cc065d28aa115e2157b819ed6c5a94e64c4d /net-mgmt/py-yapsnmp
parent9f75cb0af3895831d8e0fb8989770fc42cc871ef (diff)
downloadfreebsd-ports-gnome-81f933f9fa41d8be56774a57b1219be4849d95c5.tar.gz
freebsd-ports-gnome-81f933f9fa41d8be56774a57b1219be4849d95c5.tar.zst
freebsd-ports-gnome-81f933f9fa41d8be56774a57b1219be4849d95c5.zip
Fix swig interface file to work with swig13
PR: 86152 Submitted by: Soeren Straarup <xride@x12.dk>
Diffstat (limited to 'net-mgmt/py-yapsnmp')
-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 000000000000..6800fbccb05e
--- /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
+