summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-14 13:12:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-14 13:14:42 +0200
commitc6efb1db19f9073bfd64c4a00e99fde85b05e9e0 (patch)
treec6da2f030c6fbe78d2ac2f70a0f8e63a5d4693dc /media-tv/mythtv/files
parentdev-util/kdevelop: Drop 5.3.2 (diff)
downloadgentoo-c6efb1db19f9073bfd64c4a00e99fde85b05e9e0.tar.gz
gentoo-c6efb1db19f9073bfd64c4a00e99fde85b05e9e0.tar.bz2
gentoo-c6efb1db19f9073bfd64c4a00e99fde85b05e9e0.zip
media-tv/mythtv: Fix build with >=media-libs/exiv2-0.27.1
Thanks-to: Amel Hodzic <ilmostro7@gmail.com> Closes: https://bugs.gentoo.org/691904 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
new file mode 100644
index 000000000000..afdf423355ed
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-29.1-exiv2-0.27.1.patch
@@ -0,0 +1,21 @@
+Fix build with exiv2-0.27.1
+Thanks-to: Amel Hodzic <ilmostro7@gmail.com>
+
+--- a/libs/libmythmetadata/imagemetadata.cpp
++++ b/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" {