diff options
Diffstat (limited to 'databases/tcl-Mysql/files/patch-real_connect')
-rw-r--r-- | databases/tcl-Mysql/files/patch-real_connect | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/tcl-Mysql/files/patch-real_connect b/databases/tcl-Mysql/files/patch-real_connect new file mode 100644 index 000000000000..9b966ac3cb79 --- /dev/null +++ b/databases/tcl-Mysql/files/patch-real_connect @@ -0,0 +1,12 @@ +--- sql-mysql.cc Wed Jan 12 20:50:03 2000 ++++ sql-mysql.cc Wed Nov 10 18:49:18 2004 +@@ -2,4 +2,9 @@ + #include "sql-mysql.h" + ++#ifdef HAVE_MYSQL_REAL_CONNECT ++# define mysql_connect(h, ho, us, pa) \ ++ mysql_real_connect(h, ho, us, pa, NULL, 0, NULL, 0) ++#endif ++ + // ------------------------------------------------------------- + Sql_mysql::Sql_mysql() { |