summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-27 12:28:31 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-27 12:29:32 +0200
commitb5c797685526e3f4f99ae9a4384ec2a0bc385702 (patch)
treee0b71f411edba4dc3fa4d72d177d134376104dba /dev-libs/apr-util/files/apr-util-1.6.1-drop-my_init.patch
parentdev-python/webencodings: Remove py2 (diff)
downloadgentoo-b5c797685526e3f4f99ae9a4384ec2a0bc385702.tar.gz
gentoo-b5c797685526e3f4f99ae9a4384ec2a0bc385702.tar.bz2
gentoo-b5c797685526e3f4f99ae9a4384ec2a0bc385702.zip
dev-libs/apr-util: improve mysql-8 compatibility
Don't call my_init() which was removed in mysql-8.0.2+. Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/apr-util/files/apr-util-1.6.1-drop-my_init.patch')
-rw-r--r--dev-libs/apr-util/files/apr-util-1.6.1-drop-my_init.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/apr-util/files/apr-util-1.6.1-drop-my_init.patch b/dev-libs/apr-util/files/apr-util-1.6.1-drop-my_init.patch
new file mode 100644
index 000000000000..741ca65ca325
--- /dev/null
+++ b/dev-libs/apr-util/files/apr-util-1.6.1-drop-my_init.patch
@@ -0,0 +1,15 @@
+Was finally removed in >=mysql-8.0.2
+
+--- a/dbd/apr_dbd_mysql.c
++++ b/dbd/apr_dbd_mysql.c
+@@ -1262,9 +1262,6 @@ static apr_status_t thread_end(void *data)
+
+ static void dbd_mysql_init(apr_pool_t *pool)
+ {
+-#if MYSQL_VERSION_ID < 100000
+- my_init();
+-#endif
+ mysql_thread_init();
+
+ /* FIXME: this is a guess; find out what it really does */
+