summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-07-10 19:30:55 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-07-10 19:30:55 +0000
commit6dc0b2cfc84b352a57ba4c627c97a71fb5ab8451 (patch)
treea3d23a1473ae547c3eb2b610311e35a9006eae4e /multimedia
parentSwitch the default for Linux ports to CentOS 7. (diff)
graphics/exiv2: update to 0.27.1
Exp-run by: antoine PR: 239028
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp18
-rw-r--r--multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp14
2 files changed, 29 insertions, 3 deletions
diff --git a/multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp b/multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp
new file mode 100644
index 000000000000..5cc747752168
--- /dev/null
+++ b/multimedia/mythtv/files/patch-libs_libmythmetadata_imagemetadata.cpp
@@ -0,0 +1,18 @@
+--- libs/libmythmetadata/imagemetadata.cpp.orig 2019-07-07 08:48:08 UTC
++++ libs/libmythmetadata/imagemetadata.cpp
+@@ -7,14 +7,7 @@
+ #include "exitcodes.h" // for ffprobe
+
+ // libexiv2 for Exif metadata
+-//#include <exiv2/exiv2.hpp>
+-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
+-// file. Using image.hpp instead seems to work.
+-#ifdef _MSC_VER
+-#include <exiv2/src/image.hpp>
+-#else
+-#include <exiv2/image.hpp>
+-#endif
++#include <exiv2/exiv2.hpp>
+
+ // To read FFMPEG Metadata
+ extern "C" {
diff --git a/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp b/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp
index 0c4a6266a94a..2054c05394c6 100644
--- a/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp
+++ b/multimedia/py-kaa-metadata/files/patch-src-image-exiv2.cpp
@@ -1,6 +1,14 @@
---- src/image/exiv2.cpp.orig 2009-01-30 22:18:25.000000000 +0100
-+++ src/image/exiv2.cpp 2011-07-15 15:48:34.000000000 +0200
-@@ -47,7 +47,8 @@
+--- src/image/exiv2.cpp.orig 2009-01-30 21:18:25 UTC
++++ src/image/exiv2.cpp
+@@ -1,6 +1,5 @@
+ #include <Python.h>
+-#include <exiv2/image.hpp>
+-#include <exiv2/exif.hpp>
++#include <exiv2/exiv2.hpp>
+
+ PyObject *parse(PyObject *self, PyObject *args)
+ {
+@@ -47,7 +46,8 @@ PyObject *parse(PyObject *self, PyObject *args)
Py_DECREF(entry);
}