diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2016-01-03 14:45:03 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2016-01-03 14:45:03 +0000 |
commit | 8d694be38d01012ad3406e4a47cdda7f9fee20a9 (patch) | |
tree | 205ff547558525c12e6b7d797e679d9a2c0a159d /audio/amarok-kde4 | |
parent | c91c545eff7726d332014d561e27f1f15ec50fb1 (diff) | |
download | ports-8d694be38d01012ad3406e4a47cdda7f9fee20a9.tar.gz ports-8d694be38d01012ad3406e4a47cdda7f9fee20a9.zip |
Notes
Diffstat (limited to 'audio/amarok-kde4')
-rw-r--r-- | audio/amarok-kde4/files/patch-git_fec8817 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/amarok-kde4/files/patch-git_fec8817 b/audio/amarok-kde4/files/patch-git_fec8817 new file mode 100644 index 000000000000..4ba106dc9783 --- /dev/null +++ b/audio/amarok-kde4/files/patch-git_fec8817 @@ -0,0 +1,40 @@ +From: Omar Plummer <omarplummer@imergetechnologies.com> +Date: Thu, 06 Aug 2015 22:24:27 +0000 +Subject: Fix TagLib version check. +X-Git-Url: http://quickgit.kde.org/?p=amarok.git&a=commitdiff&h=fec8817c530ce42b6485fdabff6051784b8d9904 +--- +Fix TagLib version check. + +The version check compared version strings lexicographically, so "1.7" +(the min version) compared as greater than "1.10.0". + +BUG: 351013 +REVIEW: 124639 +--- + + +--- cmake/modules/FindTaglib.cmake ++++ cmake/modules/FindTaglib.cmake +@@ -29,10 +29,10 @@ + + exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION) + +- if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}") ++ if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_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_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION) + + exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES) + +@@ -42,7 +42,7 @@ + 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_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION) + mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES) + + else(TAGLIBCONFIG_EXECUTABLE) + |