aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2016-01-03 22:35:29 +0800
committerjhale <jhale@FreeBSD.org>2016-01-03 22:35:29 +0800
commitf648ba0f7321f19c433ae9a2565d9309e44f001a (patch)
tree5caa8182debee55063672afc06e9864655fc6eff
parent80f8c34247cd6ef2e8e7f759691111dcf828b3e9 (diff)
downloadfreebsd-ports-gnome-f648ba0f7321f19c433ae9a2565d9309e44f001a.tar.gz
freebsd-ports-gnome-f648ba0f7321f19c433ae9a2565d9309e44f001a.tar.zst
freebsd-ports-gnome-f648ba0f7321f19c433ae9a2565d9309e44f001a.zip
Add patch to fix taglib version detection
Reported by: pkg-fallout
-rw-r--r--audio/soundkonverter/files/patch-cmake_modules_FindTaglib.cmake24
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)