summaryrefslogtreecommitdiff
path: root/databases/mysql2odbc/files/patch-mtest.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-09-13 11:38:17 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-09-13 11:38:17 +0000
commit78d3b664fcbda9dc627dea8dbd845729e179fd85 (patch)
tree69bc1c2092c5d57e808c2edc23f40f9149260c7b /databases/mysql2odbc/files/patch-mtest.c
parent- Build with included slang: included slang contains a number of fixes (diff)
- Fix build on RELENG_4 [1]
- Fix build with iODBC - Bump PORTREVISION Found by: kris (via pointyhat) [1]
Notes
Notes: svn path=/head/; revision=142578
Diffstat (limited to 'databases/mysql2odbc/files/patch-mtest.c')
-rw-r--r--databases/mysql2odbc/files/patch-mtest.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/databases/mysql2odbc/files/patch-mtest.c b/databases/mysql2odbc/files/patch-mtest.c
index ff3cadcdf7d5..00a90f75e87f 100644
--- a/databases/mysql2odbc/files/patch-mtest.c
+++ b/databases/mysql2odbc/files/patch-mtest.c
@@ -1,6 +1,6 @@
---- mtest.c.orig Sat Aug 20 16:05:55 2005
-+++ mtest.c Sat Aug 20 16:06:01 2005
-@@ -27,7 +27,7 @@
+--- mtest.c.orig Fri Jun 20 21:39:48 2003
++++ mtest.c Tue Sep 13 18:21:18 2005
+@@ -27,10 +27,10 @@
#include <stdio.h>
#include <string.h>
#include <memory.h>
@@ -8,4 +8,8 @@
+#include <stdlib.h>
#ifndef WIN32
- # include <getopt.h>
+-# include <getopt.h>
++# include <unistd.h>
+ #endif
+
+ #ifdef FAKE