Add patch to fix taglib version detection

Reported by:	pkg-fallout
This commit is contained in:
Jason E. Hale 2016-01-03 16:47:21 +00:00
parent c0b5b25612
commit 78e759657c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405167

View File

@ -0,0 +1,11 @@
--- plugins/lmp/cmake/FindTaglib.cmake.orig 2016-01-03 16:39:26 UTC
+++ plugins/lmp/cmake/FindTaglib.cmake
@@ -29,7 +29,7 @@ if(TAGLIBCONFIG_EXECUTABLE)
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
- if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
+ if(TAGLIB_VERSION VERSION_LESS "${TAGLIB_MIN_VERSION}")
message(STATUS "TagLib version not found: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
set(TAGLIB_FOUND FALSE)
else()