diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2007-12-15 16:55:53 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2007-12-15 16:55:53 +0000 |
commit | 4f118c8dd485b81f1e8b0f16e9177fedebb31118 (patch) | |
tree | fd87d643076555564a2f457ebe25bd7ec6596621 /dev-db/soci/files | |
parent | net-misc/mico: Nuke unneeded comments (diff) | |
download | sunrise-4f118c8dd485b81f1e8b0f16e9177fedebb31118.tar.gz sunrise-4f118c8dd485b81f1e8b0f16e9177fedebb31118.tar.bz2 sunrise-4f118c8dd485b81f1e8b0f16e9177fedebb31118.zip |
Added patch to fix compilation problems with sqlite >=3.3.10 (thanks to Nicolas Vigier, upstream-bug #1712232)
svn path=/sunrise/; revision=5276
Diffstat (limited to 'dev-db/soci/files')
-rw-r--r-- | dev-db/soci/files/soci-2.2.0-sqlite_fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/soci/files/soci-2.2.0-sqlite_fix.patch b/dev-db/soci/files/soci-2.2.0-sqlite_fix.patch new file mode 100644 index 000000000..654efe52b --- /dev/null +++ b/dev-db/soci/files/soci-2.2.0-sqlite_fix.patch @@ -0,0 +1,13 @@ +diff -ru soci-2.2.0/src/backends/sqlite3/statement.cpp soci-2.2.0.new/src/backends/sqlite3/statement.cpp +--- soci-2.2.0/src/backends/sqlite3/statement.cpp 2006-11-08 15:01:51.000000000 +0100 ++++ soci-2.2.0.new/src/backends/sqlite3/statement.cpp 2007-05-03 19:55:25.000000000 +0200 +@@ -183,6 +183,9 @@ + StatementBackEnd::execFetchResult + Sqlite3StatementBackEnd::bindAndExecute(int number) + { ++#if (SQLITE_VERSION_NUMBER > 3003009) ++ using sqlite_api::sqlite3_destructor_type; ++#endif + StatementBackEnd::execFetchResult retVal = eNoData; + + int rows = static_cast<int>(useData_.size()); |