diff options
| author | Rong-En Fan <rafan@FreeBSD.org> | 2008-07-17 14:23:36 +0000 |
|---|---|---|
| committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-07-17 14:23:36 +0000 |
| commit | 44af92e3c0757f51c2b01fa88a754cbe353780d0 (patch) | |
| tree | 11f854cdaa735d4630b04a06743f464341bb171d /databases/mysql-connector-odbc/files | |
| parent | - update to 2.20-01 (diff) | |
- Update to 3.51.26
- Fix pkg-plist when NOPORTDOCS is defined
PR: ports/125547
Submitted by: Sergey Prikhodko <sergey at network-asp.biz> (maintainer)
Diffstat (limited to 'databases/mysql-connector-odbc/files')
7 files changed, 12 insertions, 87 deletions
diff --git a/databases/mysql-connector-odbc/files/myodbc-iodbc-patch b/databases/mysql-connector-odbc/files/myodbc-iodbc-patch deleted file mode 100644 index a96f83af97d2..000000000000 --- a/databases/mysql-connector-odbc/files/myodbc-iodbc-patch +++ /dev/null @@ -1,11 +0,0 @@ ---- driver/results.c.orig Sun Oct 9 22:33:40 2005 -+++ driver/results.c Thu Oct 27 16:30:17 2005 -@@ -558,7 +558,7 @@ - SQLPOINTER CharacterAttributePtr, - SQLSMALLINT BufferLength, - SQLSMALLINT *StringLengthPtr, -- SQLPOINTER NumericAttributePtr ) -+ SQLLEN *NumericAttributePtr ) - #endif - { - return get_col_attr( StatementHandle, diff --git a/databases/mysql-connector-odbc/files/patch-configure b/databases/mysql-connector-odbc/files/patch-configure index 0670e2b213ef..83517df4453f 100644 --- a/databases/mysql-connector-odbc/files/patch-configure +++ b/databases/mysql-connector-odbc/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Sat Oct 29 20:43:26 2005 -+++ configure Sat Oct 29 21:00:14 2005 -@@ -1650,11 +1650,11 @@ +--- configure.orig 2008-07-10 23:32:20.000000000 +0300 ++++ configure 2008-07-10 23:33:51.000000000 +0300 +@@ -1653,13 +1653,13 @@ # The aliases save the names the user supplied, while $host etc. # will get canonicalized. @@ -8,12 +8,16 @@ - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- +- +-# When changing, also change VersionInfo.h and driver/myodbc3.def -am__api_version="1.9" -+# test -n "$target_alias" && -+# test "$program_prefix$program_suffix$program_transform_name" = \ -+# NONENONEs,x,x, && -+# program_prefix=${target_alias}- -+# am__api_version="1.9" ++#test -n "$target_alias" && ++# test "$program_prefix$program_suffix$program_transform_name" = \ ++# NONENONEs,x,x, && ++# program_prefix=${target_alias}- ++# ++## When changing, also change VersionInfo.h and driver/myodbc3.def ++#am__api_version="1.9" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: diff --git a/databases/mysql-connector-odbc/files/patch-driver__connect.c b/databases/mysql-connector-odbc/files/patch-driver__connect.c deleted file mode 100644 index d0b493d5e674..000000000000 --- a/databases/mysql-connector-odbc/files/patch-driver__connect.c +++ /dev/null @@ -1,14 +0,0 @@ ---- driver/connect.c.orig Sun Oct 9 22:33:40 2005 -+++ driver/connect.c Thu Oct 27 16:44:37 2005 -@@ -141,8 +141,10 @@ - client_flag |= CLIENT_COMPRESS; - if (option_flag & FLAG_IGNORE_SPACE) - client_flag |= CLIENT_IGNORE_SPACE; -- -+ -+#ifdef CLIENT_MULTI_RESULTS - client_flag |= CLIENT_MULTI_RESULTS; -+#endif - #ifdef __WIN__ - if (option_flag & FLAG_NAMED_PIPE) - mysql_options(mysql,MYSQL_OPT_NAMED_PIPE,NullS); diff --git a/databases/mysql-connector-odbc/files/patch-driver__myodbc3.h b/databases/mysql-connector-odbc/files/patch-driver__myodbc3.h deleted file mode 100644 index 6440ea8a2433..000000000000 --- a/databases/mysql-connector-odbc/files/patch-driver__myodbc3.h +++ /dev/null @@ -1,15 +0,0 @@ ---- driver/myodbc3.h.orig Sun Oct 9 22:33:40 2005 -+++ driver/myodbc3.h Thu Oct 27 16:16:05 2005 -@@ -101,7 +101,12 @@ - #include <ltdl.h> - #include <sql.h> - #include <sqlext.h> -+ -+# if defined(HAVE_IODBCINST_H) -+#include <iodbcinst.h> -+#elif defined(HAVE_ODBCINST_H) - #include <odbcinst.h> -+# endif - - #ifndef SYSTEM_ODBC_INI - #define BOTH_ODBC_INI ODBC_BOTH_DSN diff --git a/databases/mysql-connector-odbc/files/patch-myodbcinst__myodbcinst.c b/databases/mysql-connector-odbc/files/patch-myodbcinst__myodbcinst.c deleted file mode 100644 index 7f20ed71147f..000000000000 --- a/databases/mysql-connector-odbc/files/patch-myodbcinst__myodbcinst.c +++ /dev/null @@ -1,14 +0,0 @@ ---- myodbcinst/myodbcinst.c.orig Mon Oct 10 05:49:47 2005 -+++ myodbcinst/myodbcinst.c Thu Oct 27 16:33:29 2005 -@@ -56,7 +56,11 @@ - #include <ltdl.h> - #endif - -+# if defined(HAVE_IODBCINST_H) -+#include <iodbcinst.h> -+#elif defined(HAVE_ODBCINST_H) - #include <odbcinst.h> -+# endif - - #include "../util/MYODBCUtil.h" - diff --git a/databases/mysql-connector-odbc/files/patch-strndup b/databases/mysql-connector-odbc/files/patch-strndup deleted file mode 100644 index bf424d5d5df6..000000000000 --- a/databases/mysql-connector-odbc/files/patch-strndup +++ /dev/null @@ -1,11 +0,0 @@ ---- util/MYODBCUtilReadDataSourceStr.c.orig Sun Oct 9 22:33:40 2005 -+++ util/MYODBCUtilReadDataSourceStr.c Thu Oct 27 16:35:43 2005 -@@ -20,7 +20,7 @@ - - #include "MYODBCUtil.h" - --#if defined(__APPLE__) || defined(WIN32) || defined(__sparc) -+#if defined(__APPLE__) || defined(WIN32) || defined(__sparc) || defined(__FreeBSD__) - char *strndup( const char *s, size_t n ) - { - size_t nAvail; diff --git a/databases/mysql-connector-odbc/files/patch-util__MYODBCUtil.h b/databases/mysql-connector-odbc/files/patch-util__MYODBCUtil.h deleted file mode 100644 index 09de6e39a079..000000000000 --- a/databases/mysql-connector-odbc/files/patch-util__MYODBCUtil.h +++ /dev/null @@ -1,14 +0,0 @@ ---- util/MYODBCUtil.h.orig Sun Oct 9 22:33:40 2005 -+++ util/MYODBCUtil.h Thu Oct 27 16:13:47 2005 -@@ -40,7 +40,11 @@ - #include <sqlext.h> - #endif - -+# if defined(HAVE_IODBCINST_H) -+#include <iodbcinst.h> -+#elif defined(HAVE_ODBCINST_H) - #include <odbcinst.h> -+# endif - - /* - Handle case on OSX where we want to use GetPrivateProfileString (because it |
