mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
net-analyzer/cacti-spine: Fix building against dev-db/mysql-connector-c-8*
Fixes: https://bugs.gentoo.org/692656 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
+1
@@ -30,6 +30,7 @@ RDEPEND="
|
||||
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() {
|
||||
@@ -0,0 +1,11 @@
|
||||
--- 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);
|
||||
|
||||
Reference in New Issue
Block a user