diff options
author | fjoe <fjoe@FreeBSD.org> | 2005-09-01 02:43:34 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2005-09-01 02:43:34 +0800 |
commit | ec9249583e50f9af5719b3314f949e26f06dcc47 (patch) | |
tree | 6227760ea49d8fd7597796965891848020a89f85 /databases/mysql2odbc/files | |
parent | 46e41150585142776bd2dd8747a82fb1e401f6f8 (diff) | |
download | freebsd-ports-gnome-ec9249583e50f9af5719b3314f949e26f06dcc47.tar.gz freebsd-ports-gnome-ec9249583e50f9af5719b3314f949e26f06dcc47.tar.zst freebsd-ports-gnome-ec9249583e50f9af5719b3314f949e26f06dcc47.zip |
New port: mysql2odbc 0.99.2
The MySQL-ODBC SDK enables you to make MySQL-specific applications
database-independent without wholesale re-writes of your application code.
Thus, applications that are written directly to the MySQL call level interface
now end up being database independent via iODBC (or unixODBC), and usable
against any ODBC accessible database (including MySQL).
WWW: http://www.iodbc.org/index.php?page=mysql2odbc/index
Diffstat (limited to 'databases/mysql2odbc/files')
-rw-r--r-- | databases/mysql2odbc/files/patch-configure | 11 | ||||
-rw-r--r-- | databases/mysql2odbc/files/patch-libfakesql.h | 17 | ||||
-rw-r--r-- | databases/mysql2odbc/files/patch-mtest.c | 11 |
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> |