diff options
author | Jaco Kroon <jaco@uls.co.za> | 2020-12-29 15:50:49 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-04 16:32:48 +0000 |
commit | 29491675582613ff3ffb5d0021ff1db0c147f49f (patch) | |
tree | 410ba6a55ee4d0a2ca3953eaaa65a3f5deb5cbc0 /net-voip/yate/files/yate-6.2.0-my_bool.patch | |
parent | net-libs/pjproject: drop old versions. (diff) | |
download | gentoo-29491675582613ff3ffb5d0021ff1db0c147f49f.tar.gz gentoo-29491675582613ff3ffb5d0021ff1db0c147f49f.tar.bz2 gentoo-29491675582613ff3ffb5d0021ff1db0c147f49f.zip |
net-voip/yate: version bump to 6.2.0
Includes fixups for USE=mysql.
DISCLAIMER: I have no interest in yate itself. However, change is
requird for ILBC cleanup.
Given the state of the open bugs, I'd
actually recommend last-riting yate and yatebts.
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Closes: https://bugs.gentoo.org/666012
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-voip/yate/files/yate-6.2.0-my_bool.patch')
-rw-r--r-- | net-voip/yate/files/yate-6.2.0-my_bool.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-voip/yate/files/yate-6.2.0-my_bool.patch b/net-voip/yate/files/yate-6.2.0-my_bool.patch new file mode 100644 index 000000000000..a2ddb857f397 --- /dev/null +++ b/net-voip/yate/files/yate-6.2.0-my_bool.patch @@ -0,0 +1,21 @@ +--- yate.o/modules/server/mysqldb.cpp 2020-03-03 18:03:34.000000000 +0200 ++++ yate/modules/server/mysqldb.cpp 2020-12-29 15:38:56.717897678 +0200 +@@ -22,6 +22,7 @@ + #include <yatephone.h> + + #include <stdio.h> ++#include <stdbool.h> + #include <mysql.h> + + #ifndef CLIENT_MULTI_STATEMENTS +@@ -508,8 +509,8 @@ + + #ifdef MYSQL_OPT_RECONNECT + // this option must be set after connect - bug in mysql client library +- my_bool reconn = 1; +- mysql_options(mySqlConn->m_conn,MYSQL_OPT_RECONNECT,(const char*)&reconn); ++ bool reconn = 1; ++ mysql_options(mySqlConn->m_conn,MYSQL_OPT_RECONNECT,&reconn); + #endif + + #ifdef HAVE_MYSQL_SET_CHARSET |