Date: Sun, 3 Jan 2016 13:21:38 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405141 - head/audio/taglib-extras/files Message-ID: <201601031321.u03DLcto003681@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Sun Jan 3 13:21:38 2016 New Revision: 405141 URL: https://svnweb.freebsd.org/changeset/ports/405141 Log: Add upstream patch to fix taglib version detection Reported by: pkg-fallout Obtained from: https://websvn.kde.org/?view=revision&revision=1444333 Added: head/audio/taglib-extras/files/ head/audio/taglib-extras/files/patch-svn_1444333 (contents, props changed) Added: head/audio/taglib-extras/files/patch-svn_1444333 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/taglib-extras/files/patch-svn_1444333 Sun Jan 3 13:21:38 2016 (r405141) @@ -0,0 +1,24 @@ +--- cmake/modules/FindTaglib.cmake 2009/03/18 13:31:18 940895 ++++ cmake/modules/FindTaglib.cmake 2015/11/16 19:05:39 1444333 +@@ -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 not found: 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601031321.u03DLcto003681>