diff options
author | jhale <jhale@FreeBSD.org> | 2016-01-03 22:59:51 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2016-01-03 22:59:51 +0800 |
commit | a2c82806ad30610b23ed51dbf4b3055a62c8ece4 (patch) | |
tree | 834dce88f0a31f796d4517ca15369e024f766236 | |
parent | b76786d563d6cc080b02c71ee05b5df65d8c4b57 (diff) | |
download | freebsd-ports-gnome-a2c82806ad30610b23ed51dbf4b3055a62c8ece4.tar.gz freebsd-ports-gnome-a2c82806ad30610b23ed51dbf4b3055a62c8ece4.tar.zst freebsd-ports-gnome-a2c82806ad30610b23ed51dbf4b3055a62c8ece4.zip |
Add upstream patch to fix taglib version detection
Reported by: pkg-fallout
Obtained from: https://github.com/tomahawk-player/tomahawk/commit/ee4656383a92a78299aff6f8637f174fff328e98
-rw-r--r-- | audio/tomahawk/files/patch-git_ee46563 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/tomahawk/files/patch-git_ee46563 b/audio/tomahawk/files/patch-git_ee46563 new file mode 100644 index 000000000000..254a64d6e3d9 --- /dev/null +++ b/audio/tomahawk/files/patch-git_ee46563 @@ -0,0 +1,26 @@ +diff --git a/CMakeModules/FindTaglib.cmake b/CMakeModules/FindTaglib.cmake +index e0efbef..f54ff78 100644 +--- CMakeModules/FindTaglib.cmake ++++ CMakeModules/FindTaglib.cmake +@@ -34,10 +34,10 @@ ELSE() + + 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(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) + +@@ -48,7 +48,7 @@ ELSE() + # message(STATUS "Found taglib: ${TAGLIB_LIBRARIES}") + 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) |