diff options
| author | Thomas Deutschmann <whissi@gentoo.org> | 2020-07-27 12:28:31 +0200 |
|---|---|---|
| committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-07-27 12:29:32 +0200 |
| commit | b5c797685526e3f4f99ae9a4384ec2a0bc385702 (patch) | |
| tree | e0b71f411edba4dc3fa4d72d177d134376104dba /dev-libs/apr-util/files/apr-util-1.6.1-my_bool.patch | |
| parent | 7b7cf8739a7a1f19cacf4a8e23b87acde41c33e5 (diff) | |
| download | gentoo-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-my_bool.patch')
| -rw-r--r-- | dev-libs/apr-util/files/apr-util-1.6.1-my_bool.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/apr-util/files/apr-util-1.6.1-my_bool.patch b/dev-libs/apr-util/files/apr-util-1.6.1-my_bool.patch new file mode 100644 index 000000000000..6cd875bcde89 --- /dev/null +++ b/dev-libs/apr-util/files/apr-util-1.6.1-my_bool.patch @@ -0,0 +1,17 @@ +Description: Reintroduce my_bool to fix build with MySQL 8 +Author: Robie Basak <robie.basak@canonical.com> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1863026 +Forwarded: no +Last-Update: 2020-02-18 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/dbd/apr_dbd_mysql.c ++++ b/dbd/apr_dbd_mysql.c +@@ -41,6 +41,7 @@ + #endif + #endif + #include <mysql.h> ++typedef bool my_bool; + #include <errmsg.h> + #endif + |
