git: cdd175214874 - main - databases/mysqltcl: fix build with MariaDB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 May 2024 07:19:00 UTC
The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=cdd1752148745b583a6ffcc92955e994c07e0adb commit cdd1752148745b583a6ffcc92955e994c07e0adb Author: Pietro Cerutti <gahr@FreeBSD.org> AuthorDate: 2024-05-21 07:16:38 +0000 Commit: Pietro Cerutti <gahr@FreeBSD.org> CommitDate: 2024-05-21 07:18:58 +0000 databases/mysqltcl: fix build with MariaDB PR: 277922 (exp-run) Reported by: antoine --- databases/mysqltcl/Makefile | 2 +- databases/mysqltcl/files/patch-generic_mysqltcl.c | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/databases/mysqltcl/Makefile b/databases/mysqltcl/Makefile index 17651078864a..2bf79124cd61 100644 --- a/databases/mysqltcl/Makefile +++ b/databases/mysqltcl/Makefile @@ -1,6 +1,6 @@ PORTNAME= mysqltcl PORTVERSION= 3.052 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases tcl MASTER_SITES= http://www.xdobry.de/mysqltcl/ diff --git a/databases/mysqltcl/files/patch-generic_mysqltcl.c b/databases/mysqltcl/files/patch-generic_mysqltcl.c index 477c951daee7..9c0da226b27b 100644 --- a/databases/mysqltcl/files/patch-generic_mysqltcl.c +++ b/databases/mysqltcl/files/patch-generic_mysqltcl.c @@ -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) {