diff options
author | sem <sem@FreeBSD.org> | 2004-08-09 20:01:33 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-08-09 20:01:33 +0800 |
commit | 34e44fcb38fa5659f02e6c34194af2186196ce9a (patch) | |
tree | 1536966718602128ea78bb12470e09d50b99bcc8 /databases/dbconnect | |
parent | 3383ffcad98fff341c471c08c69bfd6d381a7cf6 (diff) | |
download | freebsd-ports-gnome-34e44fcb38fa5659f02e6c34194af2186196ce9a.tar.gz freebsd-ports-gnome-34e44fcb38fa5659f02e6c34194af2186196ce9a.tar.zst freebsd-ports-gnome-34e44fcb38fa5659f02e6c34194af2186196ce9a.zip |
fix build with gcc 3.4
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")) |