summarylogtreecommitdiffstats
path: root/fix_build.patch
blob: f7981ac69d45ad6f1603dcc9184b60b37782dcfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/scanner/scanner-tag/rgtag.cpp b/scanner/scanner-tag/rgtag.cpp
index 56a12f9..d2a467f 100644
--- a/scanner/scanner-tag/rgtag.cpp
+++ b/scanner/scanner-tag/rgtag.cpp
@@ -25,6 +25,7 @@
 #include <iomanip>
 #include <ios>
 #include <sstream>
+#include <cstdint>
 
 #ifdef _WIN32
 #define CAST_FILENAME (wchar_t const *)
diff --git a/cmake/FindTAGLIB.cmake b/cmake/FindTAGLIB.cmake
index 5572601..c9fbd25 100644
--- a/cmake/FindTAGLIB.cmake
+++ b/cmake/FindTAGLIB.cmake
@@ -1,5 +1,5 @@
 find_package(PkgConfig)
-pkg_check_modules(PC_TAGLIB QUIET taglib)
+pkg_check_modules(PC_TAGLIB taglib<2)
 
 find_path(TAGLIB_INCLUDE_DIR taglib.h PATH_SUFFIXES taglib
           HINTS ${PC_TAGLIB_INCLUDEDIR} ${PC_TAGLIB_INCLUDE_DIRS})