+++ /dev/null
-From c6692a857262af7ef13a95feef8fe7633790458f Mon Sep 17 00:00:00 2001
-From: Nicolas Serafini <serafini.nicolas@gmail.com>
-Date: Wed, 1 May 2019 10:24:47 +0200
-Subject: [PATCH] Use exiv2 header that include all headers
-
-With latest exiv2 0.27.1 there is a build error
-exiv2_handler.cc:179:21: error: 'AnyError' in namespace 'Exiv2' does not name a type
-
-Signed-off-by: Nicolas Serafini <serafini.nicolas@gmail.com>
-[Arnout: retrieved from https://github.com/gerbera/gerbera/pull/457]
-Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
----
- src/metadata/exiv2_handler.cc | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/metadata/exiv2_handler.cc b/src/metadata/exiv2_handler.cc
-index f3a35d48..7f8c89bd 100644
---- a/src/metadata/exiv2_handler.cc
-+++ b/src/metadata/exiv2_handler.cc
-@@ -31,8 +31,7 @@
- /// \brief Implementeation of the Exiv2Handler class.
-
- #ifdef HAVE_EXIV2
--#include <exiv2/exif.hpp>
--#include <exiv2/image.hpp>
-+#include <exiv2/exiv2.hpp>
-
- #include "config_manager.h"
- #include "exiv2_handler.h"
+++ /dev/null
-From 0f78b883f02651bd15a96a7294e01f94b28c20f8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
-Date: Mon, 13 May 2019 13:42:14 +0200
-Subject: [PATCH] Fix find_program taglib-config when cross-compiling
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-When cross-compiling Gerbera CMakes `find_program()` will search for
-binaries on the host. This is typically correct, e.g. when search for
-compilers or shells.
-
-When cross-compiling searching for `taglib-config` should not find the
-binary on the host, instead it should find the binary in the sysroot
-directory, as the host `taglib-config` will output the wrong host paths
-and libs, whereas the sysroot `taglib-config` will output the correct sysroot
-paths and libs.
-
-Therefore, use the `CMAKE_FIND_ROOT_PATH_MODE_PROGRAM` variable when
-cross-compiling. This variable controls whether the `CMAKE_FIND_ROOT_PATH`
-and `CMAKE_SYSROOT` are used by find_program().
-
-Backported from: 0f78b883f02651bd15a96a7294e01f94b28c20f8
-
-Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
----
- cmake/FindTaglib.cmake | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/cmake/FindTaglib.cmake b/cmake/FindTaglib.cmake
-index 46a20ff2..7135d766 100644
---- a/cmake/FindTaglib.cmake
-+++ b/cmake/FindTaglib.cmake
-@@ -19,6 +19,9 @@ ELSE()
- endif(NOT TAGLIB_MIN_VERSION)
-
- if(NOT WIN32)
-+ if (CMAKE_CROSSCOMPILING)
-+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
-+ endif(CMAKE_CROSSCOMPILING)
- find_program(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config PATHS
- ${BIN_INSTALL_DIR}
- )
---
-2.22.0
-