diff options
author | fjoe <fjoe@FreeBSD.org> | 2006-12-16 18:31:52 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2006-12-16 18:31:52 +0800 |
commit | 4633f9f42e7b22fd65272bc3f91f82ab37f9e52a (patch) | |
tree | 9de9b58a9f8f887d0adc10d74b2de6f242bd2937 /databases/mysql2odbc | |
parent | 41dd0ae599abf3988c203af5ec7ef56f035bb1f2 (diff) | |
download | freebsd-ports-gnome-4633f9f42e7b22fd65272bc3f91f82ab37f9e52a.tar.gz freebsd-ports-gnome-4633f9f42e7b22fd65272bc3f91f82ab37f9e52a.tar.zst freebsd-ports-gnome-4633f9f42e7b22fd65272bc3f91f82ab37f9e52a.zip |
- Fix the build with gcc 4.1
- Bump PORTREVISION
Diffstat (limited to 'databases/mysql2odbc')
-rw-r--r-- | databases/mysql2odbc/Makefile | 2 | ||||
-rw-r--r-- | databases/mysql2odbc/files/patch-libfakesql.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/databases/mysql2odbc/Makefile b/databases/mysql2odbc/Makefile index 42394d7a435c..1b65da85c709 100644 --- a/databases/mysql2odbc/Makefile +++ b/databases/mysql2odbc/Makefile @@ -7,7 +7,7 @@ PORTNAME= mysql2odbc PORTVERSION= 0.99.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://www.iodbc.org/downloads/mysql2odbc/ diff --git a/databases/mysql2odbc/files/patch-libfakesql.c b/databases/mysql2odbc/files/patch-libfakesql.c new file mode 100644 index 000000000000..bc5389849bf5 --- /dev/null +++ b/databases/mysql2odbc/files/patch-libfakesql.c @@ -0,0 +1,20 @@ +--- libfakesql.c.orig Sat Dec 16 16:28:53 2006 ++++ libfakesql.c Sat Dec 16 16:30:32 2006 +@@ -127,7 +127,7 @@ + { + TSQLPrivate *pDB; + +- DBOF(mysql) = pDB = (TSQLPrivate *) calloc (1, sizeof (TSQLPrivate)); ++ mysql->net.vio = pDB = (TSQLPrivate *) calloc (1, sizeof (TSQLPrivate)); + if (pDB == NULL) + { + _set_error (mysql, CR_OUT_OF_MEMORY); +@@ -166,7 +166,7 @@ + pDB->hStmt = SQL_NULL_HSTMT; + pDB->bConnected = 0; + free (pDB); +- DBOF(mysql) = NULL; ++ mysql->net.vio = NULL; + } + } + |