diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-09 12:01:33 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-09 12:01:33 +0000 |
commit | 5a50031cd3805a36bed4d11fb6a28a610eca82c8 (patch) | |
tree | 1231431f807accd08e0a2c3670e147b79a0cb326 /databases/dbconnect | |
parent | Add more MLINKS. (diff) |
fix build with gcc 3.4
Notes
Notes:
svn path=/head/; revision=115734
Diffstat (limited to 'databases/dbconnect')
-rw-r--r-- | databases/dbconnect/files/patch-src::dbconnect::dbconnect.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/dbconnect/files/patch-src::dbconnect::dbconnect.cpp b/databases/dbconnect/files/patch-src::dbconnect::dbconnect.cpp new file mode 100644 index 000000000000..82d955694ea5 --- /dev/null +++ b/databases/dbconnect/files/patch-src::dbconnect::dbconnect.cpp @@ -0,0 +1,24 @@ +--- src/dbconnect/dbconnect.cpp.orig Mon Aug 9 15:54:42 2004 ++++ src/dbconnect/dbconnect.cpp Mon Aug 9 15:56:41 2004 +@@ -117,7 +117,7 @@ + //------------------------------------------------------------------------------ + DbConnection::DbConnection( + Driver driver, +- const string &configFile) ++ const string &cfgFile) + : + ptr_getAuthor(NULL), + ptr_getVendor(NULL), +@@ -147,10 +147,10 @@ + + + // 1. Use the file iif given in configFile param. +- if (configFile.length() > 0) ++ if (cfgFile.length() > 0) + { + // Try and read the information from the config file. +- ConfigFile configFile(configFile.c_str()); ++ ConfigFile configFile(cfgFile.c_str()); + configFile.read(); + + if (configFile.hasKeyName("dbconnect", "driverPath")) |