aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2018-07-29 12:55:56 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2018-07-29 12:55:56 +0000
commit6924d8a8e9fa1839ce7c6a63b0663e9a31ab4bcb (patch)
tree38a25e718d3728ec7a305d169c5faf2c14b8fc4f
parent67e5674c44b4b8d9b88d8b88f975ecf109e8a614 (diff)
downloadports-6924d8a8e9fa1839ce7c6a63b0663e9a31ab4bcb.tar.gz
ports-6924d8a8e9fa1839ce7c6a63b0663e9a31ab4bcb.zip
Notes
-rw-r--r--databases/mysql++3/files/patch-lib_dbdriver.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/mysql++3/files/patch-lib_dbdriver.cpp b/databases/mysql++3/files/patch-lib_dbdriver.cpp
new file mode 100644
index 000000000000..ecb8969adaad
--- /dev/null
+++ b/databases/mysql++3/files/patch-lib_dbdriver.cpp
@@ -0,0 +1,19 @@
+https://tangentsoft.com/mysqlpp/info/4f077284dd2ca1b6
+https://tangentsoft.com/mysqlpp/info/e5f2c3d83f
+
+Index: lib/dbdriver.cpp
+==================================================================
+--- lib/dbdriver.cpp.orig 2015-03-19 00:55:17 UTC
++++ lib/dbdriver.cpp
+@@ -257,7 +257,11 @@ DBDriver::set_option(unsigned int o, boo
+ }
+
+ 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