File 4e4d4e866ef86bb4d196a1903778697552cca05a.patch of Package mixxx
From dffb164606ee15b320d8f457e96683aa497682ab Mon Sep 17 00:00:00 2001
From: Jan Holthuis <jholthuis@mixxx.org>
Date: Sun, 11 Feb 2024 21:43:28 +0100
Subject: [PATCH] build: Print a warning instead of aborting build if TagLib
2.0 is used
---
CMakeLists.txt | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Index: mixxx-2.4.2/CMakeLists.txt
===================================================================
--- mixxx-2.4.2.orig/CMakeLists.txt
+++ mixxx-2.4.2/CMakeLists.txt
@@ -2950,11 +2950,7 @@ target_link_libraries(mixxx-lib PRIVATE
find_package(TagLib 1.11 REQUIRED)
target_link_libraries(mixxx-lib PUBLIC TagLib::TagLib)
if (NOT TagLib_VERSION VERSION_LESS 2.0.0)
- message(FATAL_ERROR "Installed Taglib ${TagLib_VERSION} is not supported. Use Version >= 1.11 and < 2.0 and its development headers.")
- # Dear package maintainer: Do not patch away this fatal error
- # using taglib 2.0.0 will put user data at risk!!
- # Mixxx is a complex application that needs to be adapted and tested thoroughly
- # https://github.com/mixxxdj/mixxx/issues/12708
+ message(WARNING "Installed Taglib ${TagLib_VERSION} is not supported and might lead to data loss (https://github.com/mixxxdj/mixxx/issues/12708). Use version >= 1.11 and < 2.0 instead.")
endif()
# Threads