diff options
Diffstat (limited to 'undefined-symbol.patch')
-rw-r--r-- | undefined-symbol.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/undefined-symbol.patch b/undefined-symbol.patch new file mode 100644 index 000000000000..7509cf28dcc2 --- /dev/null +++ b/undefined-symbol.patch @@ -0,0 +1,17 @@ +diff a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp +--- a/src/exiv2wrapper.cpp ++++ b/src/exiv2wrapper.cpp +@@ -1206,6 +1206,13 @@ Preview::Preview(const Exiv2::PreviewImage& previewImage) + } + } + ++boost::python::object Preview::getData() const ++{ ++ return boost::python::object(boost::python::handle<>( ++ PyBytes_FromStringAndSize(_data.c_str(), _size) ++ )); ++} ++ + void Preview::writeToFile(const std::string& path) const + { + std::string filename = path + _extension; |