aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql2odbc/files
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-08-31 18:43:34 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-08-31 18:43:34 +0000
commitd5cf0d45a2857f5454a000f63d37a0831672dc49 (patch)
tree10c6b27f5cf61f507eb0b5059f15dfd5ebd5d2db /databases/mysql2odbc/files
parenta3ab71cee10e2a4431ef00e64a6acfd1175c1a27 (diff)
downloadports-d5cf0d45a2857f5454a000f63d37a0831672dc49.tar.gz
ports-d5cf0d45a2857f5454a000f63d37a0831672dc49.zip
Notes
Diffstat (limited to 'databases/mysql2odbc/files')
-rw-r--r--databases/mysql2odbc/files/patch-configure11
-rw-r--r--databases/mysql2odbc/files/patch-libfakesql.h17
-rw-r--r--databases/mysql2odbc/files/patch-mtest.c11
3 files changed, 39 insertions, 0 deletions
diff --git a/databases/mysql2odbc/files/patch-configure b/databases/mysql2odbc/files/patch-configure
new file mode 100644
index 000000000000..712281f23007
--- /dev/null
+++ b/databases/mysql2odbc/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sat Aug 20 16:05:00 2005
++++ configure Sat Aug 20 16:05:10 2005
+@@ -8915,7 +8915,7 @@
+
+ echo "$as_me:$LINENO: checking for UnixODBC support" >&5
+ echo $ECHO_N "checking for UnixODBC support... $ECHO_C" >&6
+- if test -f "$withval/lib/libodbc.la"
++ if test -f "$withval/lib/libodbc.a"
+ then
+ found_odbc=yes
+ ODBC_CFLAGS="-I$withval/include"
diff --git a/databases/mysql2odbc/files/patch-libfakesql.h b/databases/mysql2odbc/files/patch-libfakesql.h
new file mode 100644
index 000000000000..a161d055ada0
--- /dev/null
+++ b/databases/mysql2odbc/files/patch-libfakesql.h
@@ -0,0 +1,17 @@
+--- libfakesql.h.orig Sat Aug 20 16:16:01 2005
++++ libfakesql.h Sat Aug 20 16:00:18 2005
+@@ -47,6 +47,14 @@
+
+ ///////////////////////////////////////////////////////////////////////////////
+
++#ifndef FALSE
++#define FALSE 0
++#endif
++
++#ifndef TRUE
++#define TRUE 1
++#endif
++
+ #define NAME_LEN 64 /* Field/table name length */
+ #define HOSTNAME_LENGTH 60
+ #define USERNAME_LENGTH 16
diff --git a/databases/mysql2odbc/files/patch-mtest.c b/databases/mysql2odbc/files/patch-mtest.c
new file mode 100644
index 000000000000..ff3cadcdf7d5
--- /dev/null
+++ b/databases/mysql2odbc/files/patch-mtest.c
@@ -0,0 +1,11 @@
+--- mtest.c.orig Sat Aug 20 16:05:55 2005
++++ mtest.c Sat Aug 20 16:06:01 2005
+@@ -27,7 +27,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <memory.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #ifndef WIN32
+ # include <getopt.h>