diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-06-06 21:51:35 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-06-06 21:51:35 +0800 |
commit | 2bfd0dc4e58b5585099df0171ba717d66e4cb88c (patch) | |
tree | bc9c80ae0574715a436d5d79b33128c3785e125a /science | |
parent | 59582ce3fab544a2a8822aa030127afd25f62b6b (diff) | |
download | freebsd-ports-gnome-2bfd0dc4e58b5585099df0171ba717d66e4cb88c.tar.gz freebsd-ports-gnome-2bfd0dc4e58b5585099df0171ba717d66e4cb88c.tar.zst freebsd-ports-gnome-2bfd0dc4e58b5585099df0171ba717d66e4cb88c.zip |
Fix build with SQLite 3.19.2
Submitted by: Pavel Volkov <pavelivolkov@gmail.com>
Approved by: portmgr (blanket)
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; + |