git: 509505e3d95d - main - databases/sqliteodbc: Update to 0.9999

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sat, 02 Sep 2023 16:27:59 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=509505e3d95d28dc8a1067daa739b32842c4d0ce

commit 509505e3d95d28dc8a1067daa739b32842c4d0ce
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-09-02 16:27:37 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-09-02 16:27:37 +0000

    databases/sqliteodbc: Update to 0.9999
---
 databases/sqliteodbc/Makefile                  |  3 +--
 databases/sqliteodbc/distinfo                  |  6 +++---
 databases/sqliteodbc/files/patch-sqlite3odbc.c | 11 +++++++++++
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/databases/sqliteodbc/Makefile b/databases/sqliteodbc/Makefile
index f5cd4fd1b63b..3cc632294cc6 100644
--- a/databases/sqliteodbc/Makefile
+++ b/databases/sqliteodbc/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	sqliteodbc
-PORTVERSION=	0.9998
-PORTREVISION?=	2
+PORTVERSION=	0.9999
 CATEGORIES=	databases
 MASTER_SITES=	http://www.ch-werner.de/sqliteodbc/
 
diff --git a/databases/sqliteodbc/distinfo b/databases/sqliteodbc/distinfo
index d1920d5cbb11..744fc41a473a 100644
--- a/databases/sqliteodbc/distinfo
+++ b/databases/sqliteodbc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1593159706
-SHA256 (sqliteodbc-0.9998.tar.gz) = fabcbec73f98d1a34911636c02c29fc64147d27516b142e8e132c68c05a6065b
-SIZE (sqliteodbc-0.9998.tar.gz) = 1000548
+TIMESTAMP = 1693671462
+SHA256 (sqliteodbc-0.9999.tar.gz) = 2c3cd6fd9d2be59d439122b0488788e5431b879a600f01117697763c5b563cf7
+SIZE (sqliteodbc-0.9999.tar.gz) = 1004293
diff --git a/databases/sqliteodbc/files/patch-sqlite3odbc.c b/databases/sqliteodbc/files/patch-sqlite3odbc.c
new file mode 100644
index 000000000000..130578cd7853
--- /dev/null
+++ b/databases/sqliteodbc/files/patch-sqlite3odbc.c
@@ -0,0 +1,11 @@
+--- sqlite3odbc.c.orig	2023-08-24 08:50:22 UTC
++++ sqlite3odbc.c
+@@ -13305,7 +13305,7 @@ drvdriverconnect(SQLHDBC dbc, SQLHWND hwnd,
+ 				   attas, sizeof (attas), ODBC_INI);
+     }
+ #endif
+-    illag[0] = '\0';
++    ilflag[0] = '\0';
+     getdsnattr(buf, "ilike", ilflag, sizeof (ilflag));
+ #ifndef WITHOUT_DRIVERMGR
+     if (dsn[0] && !ilflag[0]) {