Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 610712 Details for
Bug 692834
net-dns/bind-9.14.4 fails to build with mysql use flag and >=dev-db/mysql-connector-c-8.0.17-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow building against >=dev-db/mysql-connector-c-8 as well as earlier
mysql8-bool.patch (text/plain), 628 bytes, created by
Jouni Kosonen
on 2020-02-02 02:54:55 UTC
(
hide
)
Description:
Allow building against >=dev-db/mysql-connector-c-8 as well as earlier
Filename:
MIME Type:
Creator:
Jouni Kosonen
Created:
2020-02-02 02:54:55 UTC
Size:
628 bytes
patch
obsolete
>diff --git a/contrib/dlz/drivers/dlz_mysql_driver.c b/contrib/dlz/drivers/dlz_mysql_driver.c >index 2275048..1b9e0ac 100644 >--- a/contrib/dlz/drivers/dlz_mysql_driver.c >+++ b/contrib/dlz/drivers/dlz_mysql_driver.c >@@ -789,8 +789,11 @@ mysql_create(const char *dlzname, unsigned int argc, char *argv[], > char *endp; > int j; > unsigned int flags = 0; >+#if MYSQL_VERSION_ID >= 80000 >+ typedef bool my_bool; // Workaround to make library work with MySQL client 8.0 as well as earlier versions >+#endif > #if MYSQL_VERSION_ID >= 50000 >- my_bool auto_reconnect = 1; >+ my_bool auto_reconnect = 1; > #endif > > UNUSED(driverarg);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 692834
:
587964
| 610712