diff options
Diffstat (limited to 'databases/mysqlcppapi/files')
| -rw-r--r-- | databases/mysqlcppapi/files/patch-configure | 13 | ||||
| -rw-r--r-- | databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc | 2 | 
2 files changed, 13 insertions, 2 deletions
| diff --git a/databases/mysqlcppapi/files/patch-configure b/databases/mysqlcppapi/files/patch-configure index e81daa02854a..23710b3c6c71 100644 --- a/databases/mysqlcppapi/files/patch-configure +++ b/databases/mysqlcppapi/files/patch-configure @@ -1,4 +1,4 @@ ---- configure~	Wed Aug  4 23:58:41 2004 +--- configure.orig	Wed Aug  4 23:58:41 2004  +++ configure	Thu Aug  5 00:12:29 2004  @@ -18465,8 +18465,8 @@   fi; @@ -11,3 +11,14 @@ +--- configure.orig	Fri Aug 29 03:24:14 2003 ++++ configure	Fri Sep  3 20:09:58 2004 +@@ -18660,7 +18660,7 @@ +   echo $ECHO_N "(cached) $ECHO_C" >&6 + else +   ac_check_lib_save_LIBS=$LIBS +-LIBS="-lmysqlclient  $LIBS" ++LIBS="-L$MYSQL_PREFIX/lib/mysql -lmysqlclient  $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h.  */ diff --git a/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc b/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc index aa3f2567e801..ffbeb0be9d22 100644 --- a/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc +++ b/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc @@ -5,7 +5,7 @@   {     check_connection_is_open();  -   -+#if  ( MYSQL_VERSION_ID == 40103 ) || ( MYSQL_VERSION_ID == 50001 ) ++#if  ( MYSQL_VERSION_ID >= 50001 ) || (( MYSQL_VERSION_ID < 50000 ) && ( MYSQL_VERSION_ID >= 40103 ))  +  bool suc = !(mysql_shutdown(m_sharedptr_connection.obj(),SHUTDOWN_DEFAULT));  +#else     bool suc = !(mysql_shutdown(m_sharedptr_connection.obj())); | 
