diff options
author | mezz <mezz@FreeBSD.org> | 2007-01-06 09:21:55 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-01-06 09:21:55 +0800 |
commit | 791bcbc99b5c843773e68bde586c201ba055a264 (patch) | |
tree | 5b3ab6ce7dec00731030f644004d7fe5a6c1a972 /databases | |
parent | 76f99d93b4ffc4903aca17d5be6542b6c35e1af4 (diff) | |
download | freebsd-ports-graphics-791bcbc99b5c843773e68bde586c201ba055a264.tar.gz freebsd-ports-graphics-791bcbc99b5c843773e68bde586c201ba055a264.tar.zst freebsd-ports-graphics-791bcbc99b5c843773e68bde586c201ba055a264.zip |
Fix the build with WITH_MDB=yes or have databases/mdbtools installed.
PR: ports/107511
Submitted by: Denis Eremenko <moonshade@pnhz.kz>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c b/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c new file mode 100644 index 00000000000..1d5f2d8e4e0 --- /dev/null +++ b/databases/libgda2/files/patch-providers_mdb_gda-mdb-provider.c @@ -0,0 +1,11 @@ +--- providers/mdb/gda-mdb-provider.c.orig Thu Jan 4 17:14:00 2007 ++++ providers/mdb/gda-mdb-provider.c Thu Jan 4 17:14:06 2007 +@@ -209,7 +209,7 @@ + mdb_cnc = g_new0 (GdaMdbConnection, 1); + mdb_cnc->cnc = cnc; + mdb_cnc->server_version = NULL; +- mdb_cnc->mdb = mdb_open (filename, MDB_WRITABLE); ++ mdb_cnc->mdb = mdb_open (filename); + if (!mdb_cnc->mdb) { + gda_connection_add_error_string (cnc, _("Could not open file %s"), filename); + g_free (mdb_cnc); |