diff options
author | marcus <marcus@FreeBSD.org> | 2002-06-16 08:25:00 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-06-16 08:25:00 +0800 |
commit | ea5c2df70d212abe374cdc4b15961d0e202054a8 (patch) | |
tree | 5289cab1a37aa9051ce536b8ae41a93bc8bd41c9 /databases | |
parent | e520787ed6b2124f9b59990ed7cd1c52a86ec0e8 (diff) | |
download | freebsd-ports-gnome-ea5c2df70d212abe374cdc4b15961d0e202054a8.tar.gz freebsd-ports-gnome-ea5c2df70d212abe374cdc4b15961d0e202054a8.tar.zst freebsd-ports-gnome-ea5c2df70d212abe374cdc4b15961d0e202054a8.zip |
Get libgda compiling under -CURRENT again.
Diffstat (limited to 'databases')
9 files changed, 99 insertions, 0 deletions
diff --git a/databases/libgda/files/patch-bindings_c++_gdaBatch.cpp b/databases/libgda/files/patch-bindings_c++_gdaBatch.cpp new file mode 100644 index 000000000000..2412c1226ffb --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaBatch.cpp @@ -0,0 +1,11 @@ +--- bindings/c++/gdaBatch.cpp.orig Sat Jun 15 17:01:27 2002 ++++ bindings/c++/gdaBatch.cpp Sat Jun 15 17:01:41 2002 +@@ -127,7 +127,7 @@ + } + + GdaBatch* +-Batch::getCStruct (bool refn = true) const ++Batch::getCStruct (bool refn) const + { + if (refn) + ref (); diff --git a/databases/libgda/files/patch-bindings_c++_gdaCommand.cpp b/databases/libgda/files/patch-bindings_c++_gdaCommand.cpp new file mode 100644 index 000000000000..8f8667e86e03 --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaCommand.cpp @@ -0,0 +1,11 @@ +--- bindings/c++/gdaCommand.cpp.orig Sat Jun 15 17:02:00 2002 ++++ bindings/c++/gdaCommand.cpp Sat Jun 15 17:02:08 2002 +@@ -139,7 +139,7 @@ + */ + + GdaCommand* +-Command::getCStruct (bool refn = true) const ++Command::getCStruct (bool refn) const + { + if (refn) + ref (); diff --git a/databases/libgda/files/patch-bindings_c++_gdaConnection.cpp b/databases/libgda/files/patch-bindings_c++_gdaConnection.cpp new file mode 100644 index 000000000000..aebf4440a9b8 --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaConnection.cpp @@ -0,0 +1,11 @@ +--- bindings/c++/gdaConnection.cpp.orig Sat Jun 15 17:02:32 2002 ++++ bindings/c++/gdaConnection.cpp Sat Jun 15 17:02:41 2002 +@@ -294,7 +294,7 @@ + return gda_connection_get_version (_gda_connection); + } + +-GdaConnection* Connection::getCStruct (bool refn = true) const ++GdaConnection* Connection::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_connection; diff --git a/databases/libgda/files/patch-bindings_c++_gdaConnection.h b/databases/libgda/files/patch-bindings_c++_gdaConnection.h new file mode 100644 index 000000000000..5846ac683d18 --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaConnection.h @@ -0,0 +1,11 @@ +--- bindings/c++/gdaConnection.h.orig Sat Jun 15 17:00:34 2002 ++++ bindings/c++/gdaConnection.h Sat Jun 15 17:00:54 2002 +@@ -20,6 +20,8 @@ + #ifndef __gda_bindings_cpp_gdaConnectionH + #define __gda_bindings_cpp_gdaConnectionH + ++using namespace std; ++ + namespace gda { + + class Recordset; diff --git a/databases/libgda/files/patch-bindings_c++_gdaError.cpp b/databases/libgda/files/patch-bindings_c++_gdaError.cpp new file mode 100644 index 000000000000..4b4e2c6ab0ab --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaError.cpp @@ -0,0 +1,11 @@ +--- bindings/c++/gdaError.cpp.orig Sat Jun 15 17:03:02 2002 ++++ bindings/c++/gdaError.cpp Sat Jun 15 17:03:09 2002 +@@ -98,7 +98,7 @@ + } + + GdaError* +-Error::getCStruct (bool refn = true) const ++Error::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_error; diff --git a/databases/libgda/files/patch-bindings_c++_gdaField.cpp b/databases/libgda/files/patch-bindings_c++_gdaField.cpp new file mode 100644 index 000000000000..e650f0af2b5f --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaField.cpp @@ -0,0 +1,11 @@ +--- bindings/c++/gdaField.cpp.orig Sat Jun 15 17:03:38 2002 ++++ bindings/c++/gdaField.cpp Sat Jun 15 17:03:45 2002 +@@ -428,7 +428,7 @@ + } + + GdaField* +-Field::getCStruct (bool refn = true) const ++Field::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_field; diff --git a/databases/libgda/files/patch-bindings_c++_gdaHelpers.h b/databases/libgda/files/patch-bindings_c++_gdaHelpers.h new file mode 100644 index 000000000000..100ddee8aa75 --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaHelpers.h @@ -0,0 +1,11 @@ +--- bindings/c++/gdaHelpers.h.orig Sat Jun 15 17:04:17 2002 ++++ bindings/c++/gdaHelpers.h Sat Jun 15 17:04:31 2002 +@@ -19,6 +19,8 @@ + //#ifndef __gda_helpers_cpp_gdaHelpersH + //#define __gda_helpers_cpp_gdaHelpersH + ++using namespace std; ++ + namespace gda { + string gda_return_string (gchar* pszString); + }; diff --git a/databases/libgda/files/patch-bindings_c++_gdaIncludes.h b/databases/libgda/files/patch-bindings_c++_gdaIncludes.h new file mode 100644 index 000000000000..b4d3d7a15ea9 --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaIncludes.h @@ -0,0 +1,11 @@ +--- bindings/c++/gdaIncludes.h.orig Sat Jun 15 16:53:57 2002 ++++ bindings/c++/gdaIncludes.h Sat Jun 15 16:55:03 2002 +@@ -51,4 +51,8 @@ + #include "gdaRecordset.h" + #include "gdaValue.h" + ++// Needed to get references to string working without having to pre-pend ++// std:: to each one. ++using namespace std; ++ + #endif // __gda_bindings_cpp_gdaIncludesH diff --git a/databases/libgda/files/patch-bindings_c++_gdaRecordset.cpp b/databases/libgda/files/patch-bindings_c++_gdaRecordset.cpp new file mode 100644 index 000000000000..77a27c211b0b --- /dev/null +++ b/databases/libgda/files/patch-bindings_c++_gdaRecordset.cpp @@ -0,0 +1,11 @@ +--- bindings/c++/gdaRecordset.cpp.orig Sat Jun 15 17:05:30 2002 ++++ bindings/c++/gdaRecordset.cpp Sat Jun 15 17:05:55 2002 +@@ -254,7 +254,7 @@ + } + + GdaRecordset* +-Recordset::getCStruct (bool refn = true) const ++Recordset::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_recordset; |