diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-06-06 13:51:35 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-06-06 13:51:35 +0000 |
commit | 6217a43bac653853e3a606dc4543cd1dae32e7f5 (patch) | |
tree | bc9c80ae0574715a436d5d79b33128c3785e125a /science | |
parent | 91b38387860983d8544c0c514acd1694044216ed (diff) | |
download | ports-6217a43bac653853e3a606dc4543cd1dae32e7f5.tar.gz ports-6217a43bac653853e3a606dc4543cd1dae32e7f5.zip |
Fix build with SQLite 3.19.2
Submitted by: Pavel Volkov <pavelivolkov@gmail.com>
Approved by: portmgr (blanket)
Notes
Notes:
svn path=/head/; revision=442773
Diffstat (limited to 'science')
-rw-r--r-- | science/orthanc/files/patch-Core_SQLite_FunctionContext.cpp | 11 | ||||
-rw-r--r-- | science/orthanc/files/patch-Core_SQLite_FunctionContext.h | 28 |
2 files changed, 39 insertions, 0 deletions
diff --git a/science/orthanc/files/patch-Core_SQLite_FunctionContext.cpp b/science/orthanc/files/patch-Core_SQLite_FunctionContext.cpp new file mode 100644 index 000000000000..4c2b5adc3516 --- /dev/null +++ b/science/orthanc/files/patch-Core_SQLite_FunctionContext.cpp @@ -0,0 +1,11 @@ +--- Core/SQLite/FunctionContext.cpp.orig 2016-06-27 11:02:35 UTC ++++ Core/SQLite/FunctionContext.cpp +@@ -49,7 +49,7 @@ namespace Orthanc + { + FunctionContext::FunctionContext(struct sqlite3_context* context, + int argc, +- struct ::Mem** argv) ++ struct sqlite3_value** argv) + { + assert(context != NULL); + assert(argc >= 0); diff --git a/science/orthanc/files/patch-Core_SQLite_FunctionContext.h b/science/orthanc/files/patch-Core_SQLite_FunctionContext.h new file mode 100644 index 000000000000..cbbf46e2c693 --- /dev/null +++ b/science/orthanc/files/patch-Core_SQLite_FunctionContext.h @@ -0,0 +1,28 @@ +--- Core/SQLite/FunctionContext.h.orig 2016-06-27 11:02:35 UTC ++++ Core/SQLite/FunctionContext.h +@@ -37,7 +37,7 @@ + #include "Statement.h" + + struct sqlite3_context; +-struct Mem; // This corresponds to the opaque type "sqlite3_value" ++struct sqlite3_value; // This corresponds to the opaque type "sqlite3_value" + + namespace Orthanc + { +@@ -50,14 +50,14 @@ namespace Orthanc + private: + struct sqlite3_context* context_; + unsigned int argc_; +- struct ::Mem** argv_; ++ struct sqlite3_value** argv_; + + void CheckIndex(unsigned int index) const; + + public: + FunctionContext(struct sqlite3_context* context, + int argc, +- struct ::Mem** argv); ++ struct sqlite3_value** argv); + + ColumnType GetColumnType(unsigned int index) const; + |