Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 587782 Details for
Bug 692696
net-misc/asterisk-13.23.1 USE=mysql with dev-db/mysql-connector-c-8.0.17-r1 : cdr_mysql.c:184:2: error: unknown type name ‘my_bool’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
asterisk-13.23.1-my_bool-error.diff
asterisk-13.23.1-my_bool-error.diff (text/plain), 1.35 KB, created by
Attila Tóth
on 2019-08-21 19:06:48 UTC
(
hide
)
Description:
asterisk-13.23.1-my_bool-error.diff
Filename:
MIME Type:
Creator:
Attila Tóth
Created:
2019-08-21 19:06:48 UTC
Size:
1.35 KB
patch
obsolete
>diff -urNp asterisk-13.23.1-orig/addons/cdr_mysql.c asterisk-13.23.1-dwok/addons/cdr_mysql.c >--- asterisk-13.23.1-orig/addons/cdr_mysql.c 2019-08-21 19:16:12.034289615 +0200 >+++ asterisk-13.23.1-dwok/addons/cdr_mysql.c 2019-08-21 19:19:29.124981858 +0200 >@@ -181,7 +181,7 @@ static int mysql_log(struct ast_cdr *cdr > struct ast_str *sql1 = ast_str_thread_get(&sql1_buf, 1024), *sql2 = ast_str_thread_get(&sql2_buf, 1024); > int retries = 5; > #if MYSQL_VERSION_ID >= 50013 >- my_bool my_bool_true = 1; >+ bool my_bool_true = 1; > #endif > > if (!sql1 || !sql2) { >@@ -471,7 +471,7 @@ static int my_load_module(int reload) > MYSQL_RES *result; > char sqldesc[128]; > #if MYSQL_VERSION_ID >= 50013 >- my_bool my_bool_true = 1; >+ bool my_bool_true = 1; > #endif > > /* Cannot use a conditionally different flag, because the table layout may >diff -urNp asterisk-13.23.1-orig/addons/res_config_mysql.c asterisk-13.23.1-dwok/addons/res_config_mysql.c >--- asterisk-13.23.1-orig/addons/res_config_mysql.c 2019-08-21 19:16:12.034289615 +0200 >+++ asterisk-13.23.1-dwok/addons/res_config_mysql.c 2019-08-21 19:18:44.944378379 +0200 >@@ -1329,7 +1329,7 @@ static int load_mysql_config(struct ast_ > static int mysql_reconnect(struct mysql_conn *conn) > { > #ifdef MYSQL_OPT_RECONNECT >- my_bool trueval = 1; >+ bool trueval = 1; > #endif > > /* mutex lock should have been locked before calling this function. */
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 692696
:
587782
|
590006