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:
parent
c1a1bc6d29
commit
cdd1752148
@ -1,6 +1,6 @@
|
||||
PORTNAME= mysqltcl
|
||||
PORTVERSION= 3.052
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= databases tcl
|
||||
MASTER_SITES= http://www.xdobry.de/mysqltcl/
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user