aboutsummaryrefslogtreecommitdiffstats
path: root/net/wmnd
diff options
context:
space:
mode:
Diffstat (limited to 'net/wmnd')
-rw-r--r--net/wmnd/Makefile1
-rw-r--r--net/wmnd/files/patch-src-drivers.c21
2 files changed, 22 insertions, 0 deletions
diff --git a/net/wmnd/Makefile b/net/wmnd/Makefile
index f910e7d76542..f82416ca38bc 100644
--- a/net/wmnd/Makefile
+++ b/net/wmnd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wmnd
PORTVERSION= 0.4.12
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.yuv.info/wmnd/releases/
diff --git a/net/wmnd/files/patch-src-drivers.c b/net/wmnd/files/patch-src-drivers.c
new file mode 100644
index 000000000000..be5283caecf6
--- /dev/null
+++ b/net/wmnd/files/patch-src-drivers.c
@@ -0,0 +1,21 @@
+--- src/drivers.c Thu Apr 20 23:51:30 2006
++++ ../wmnd-0.4.12-p/src/drivers.c Thu Apr 5 22:05:34 2007
+@@ -570,7 +570,8 @@
+ struct freebsd_sysctl_drvdata* drdata;
+ int numifaces, numrfaces = 0;
+ int mib[5], datamib[6];
+- int i, len, len2;
++ int i;
++ size_t len, len2;
+
+ mib[0] = CTL_NET;
+ mib[1] = PF_LINK;
+@@ -636,7 +637,7 @@
+ {
+ struct freebsd_sysctl_drvdata* drdata = dev->drvdata;
+ int datamib[6];
+- int len;
++ size_t len;
+
+ *ip = *op = *ib = *ob = 0;
+