diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2016-01-03 14:35:29 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2016-01-03 14:35:29 +0000 |
commit | c91c545eff7726d332014d561e27f1f15ec50fb1 (patch) | |
tree | 5caa8182debee55063672afc06e9864655fc6eff /audio | |
parent | - Convert to options helper (diff) |
Add patch to fix taglib version detection
Reported by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=405157
Diffstat (limited to 'audio')
-rw-r--r-- | audio/soundkonverter/files/patch-cmake_modules_FindTaglib.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/soundkonverter/files/patch-cmake_modules_FindTaglib.cmake b/audio/soundkonverter/files/patch-cmake_modules_FindTaglib.cmake new file mode 100644 index 000000000000..ad7ec3b8140c --- /dev/null +++ b/audio/soundkonverter/files/patch-cmake_modules_FindTaglib.cmake @@ -0,0 +1,24 @@ +--- cmake/modules/FindTaglib.cmake.orig 2016-01-03 14:26:03 UTC ++++ cmake/modules/FindTaglib.cmake +@@ -29,10 +29,10 @@ 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 too old: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}") + set(TAGLIB_FOUND FALSE) +- else(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}") ++ else(TAGLIB_VERSION VERSION_LESS "${TAGLIB_MIN_VERSION}") + + exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES) + +@@ -42,7 +42,7 @@ if(TAGLIBCONFIG_EXECUTABLE) + set(TAGLIB_FOUND TRUE) + endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS) + string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}") +- endif(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}") ++ endif(TAGLIB_VERSION VERSION_LESS "${TAGLIB_MIN_VERSION}") + mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES) + + else(TAGLIBCONFIG_EXECUTABLE) |