Fixes: https://bugs.gentoo.org/692656
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
PATCHES=(
"${FILESDIR}"/${PN}-0.8.8d-ping.patch
"${FILESDIR}"/${PN}-0.8.8g-net-snmp.patch
+ "${FILESDIR}"/${PN}-1.2.5-my_bool.patch
)
src_prepare() {
--- /dev/null
+--- a/sql.c
++++ b/sql.c
+@@ -229,7 +229,7 @@ void db_connect(int type, MYSQL *mysql) {
+ timeout = 5;
+ rtimeout = 10;
+ wtimeout = 20;
+- my_bool reconnect = 1;
++ _Bool reconnect = 1;
+
+ mysql_init(mysql);
+