diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2007-01-06 01:21:55 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2007-01-06 01:21:55 +0000 |
commit | cb1537c096c27f97b3ba09c72f79c48d520aca7f (patch) | |
tree | 0ae5185a91455b43ae3b0b8c367fafe937afb45f /databases | |
parent | Update to 2.10.7. (diff) |
Fix the build with WITH_MDB=yes or have databases/mdbtools installed.
PR: ports/107511
Submitted by: Denis Eremenko <moonshade@pnhz.kz>
Notes
Notes:
svn path=/head/; revision=181597
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 000000000000..1d5f2d8e4e04 --- /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); |