summaryrefslogtreecommitdiff
path: root/net/wmnet2/files/patch-getopt.c
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-13 11:15:13 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-13 11:15:13 +0000
commit4aad14d520e4f49cda984e0ab8ee9390463443f0 (patch)
tree95ced34425653a3a09a9afbf0c0937af451e8ed4 /net/wmnet2/files/patch-getopt.c
parentAlso coredumps on amd64. (diff)
Fix 64-bit issues.
PR: ports/66017 Submitted by: Andrew Belashov Approved by: maintainer
Notes
Notes: svn path=/head/; revision=109068
Diffstat (limited to 'net/wmnet2/files/patch-getopt.c')
-rw-r--r--net/wmnet2/files/patch-getopt.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wmnet2/files/patch-getopt.c b/net/wmnet2/files/patch-getopt.c
new file mode 100644
index 000000000000..e40f83fa564e
--- /dev/null
+++ b/net/wmnet2/files/patch-getopt.c
@@ -0,0 +1,11 @@
+--- getopt.c.orig Fri Oct 9 10:59:00 1998
++++ getopt.c Tue Apr 27 09:57:46 2004
+@@ -209,6 +209,8 @@
+
+ char *getenv ();
+ extern int strncmp(const char *s1, const char *s2, size_t len);
++extern int strcmp(const char *, const char *);
++extern size_t strlen(const char *);
+
+ static char *
+ my_index (str, chr)