diff options
author | Brian Evans <grknight@gentoo.org> | 2017-09-01 09:45:16 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-09-01 09:45:16 -0400 |
commit | 080a6315580b734e3e79f9420b207b495b4bc693 (patch) | |
tree | 91f81571b888525a18d9fe00c8abff36f64e3381 /dev-db/mysql++/files/mysql++-3.2.3-mariadb-10.2.patch | |
parent | a900af241376ab156509ae9a3832dfeb332d95b7 (diff) | |
download | gentoo-080a6315580b734e3e79f9420b207b495b4bc693.tar.gz gentoo-080a6315580b734e3e79f9420b207b495b4bc693.tar.xz |
dev-db/mysql++: Fix build for Bug 629492 and general build cleanup
Installed files are unchanged
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-db/mysql++/files/mysql++-3.2.3-mariadb-10.2.patch')
-rw-r--r-- | dev-db/mysql++/files/mysql++-3.2.3-mariadb-10.2.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-db/mysql++/files/mysql++-3.2.3-mariadb-10.2.patch b/dev-db/mysql++/files/mysql++-3.2.3-mariadb-10.2.patch new file mode 100644 index 00000000000..f461daac2a4 --- /dev/null +++ b/dev-db/mysql++/files/mysql++-3.2.3-mariadb-10.2.patch @@ -0,0 +1,31 @@ +diff -Naur mysql++-3.2.2-ORIG/lib/dbdriver.cpp mysql++-3.2.2/lib/dbdriver.cpp +--- mysql++-3.2.2-ORIG/lib/dbdriver.cpp 2017-07-14 14:56:06.206629443 +0200 ++++ mysql++-3.2.2/lib/dbdriver.cpp 2017-07-14 15:28:34.690826959 +0200 +@@ -257,7 +257,11 @@ + } + + if ((n == 1) && ++#ifdef CLIENT_LONG_PASSWORD + (o >= CLIENT_LONG_PASSWORD) && ++#else ++ (o >= CLIENT_MYSQL) && ++#endif + #if MYSQL_VERSION_ID > 40000 // highest flag value varies by version + (o <= CLIENT_MULTI_RESULTS) + #else +diff -aurN a/lib/common.h b/lib/common.h +--- a/lib/common.h 2016-12-30 18:44:44.000000000 -0500 ++++ b/lib/common.h 2017-09-01 09:12:12.270089396 -0400 +@@ -130,12 +130,6 @@ + #define MYSQLPP_PATH_SEPARATOR '/' + #endif + +-#if defined(MYSQLPP_MYSQL_HEADERS_BURIED) +-# include <mysql/mysql_version.h> +-#else +-# include <mysql_version.h> +-#endif +- + namespace mysqlpp { + + /// \brief Alias for 'true', to make code requesting exceptions more |