1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

databases/mysqltcl: fix build with MariaDB

PR:             277922 (exp-run)
Reported by:    antoine
This commit is contained in:
Pietro Cerutti 2024-05-21 07:16:38 +00:00
parent c1a1bc6d29
commit cdd1752148
2 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= mysqltcl
PORTVERSION= 3.052
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= databases tcl
MASTER_SITES= http://www.xdobry.de/mysqltcl/

View File

@ -1,6 +1,14 @@
--- generic/mysqltcl.c.orig 2024-01-26 14:58:40 UTC
--- generic/mysqltcl.c.orig 2012-10-24 20:26:34 UTC
+++ generic/mysqltcl.c
@@ -911,7 +911,7 @@ static int Mysqltcl_Connect(ClientData clientData, Tcl
@@ -46,6 +46,7 @@
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
+#include <stdbool.h>
#define MYSQL_SMALL_SIZE TCL_RESULT_SIZE /* Smaller buffer size. */
#define MYSQL_NAME_LEN 80 /* Max. database name length. */
@@ -911,7 +912,7 @@ static int Mysqltcl_Connect(ClientData clientData, Tcl
#if (MYSQL_VERSION_ID>=32350)
if(mysql_options_reconnect)
{