Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 13:22:27 +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: r405288 - head/audio/cantata/files
Message-ID:  <201601051322.u05DMR96033928@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Tue Jan  5 13:22:27 2016
New Revision: 405288
URL: https://svnweb.freebsd.org/changeset/ports/405288

Log:
  Add upstream patch to fix taglib version detection
  
  Reported by:	pkg-fallout
  Obtained from:	https://github.com/CDrummond/cantata/commit/c0a75da8f0fb540e0c643cc3910e479e1f366061

Added:
  head/audio/cantata/files/patch-git_c0a75da   (contents, props changed)

Added: head/audio/cantata/files/patch-git_c0a75da
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/cantata/files/patch-git_c0a75da	Tue Jan  5 13:22:27 2016	(r405288)
@@ -0,0 +1,26 @@
+diff --git a/cmake/FindTaglib.cmake b/cmake/FindTaglib.cmake
+index 132b311..5d8c3db 100644
+--- cmake/FindTaglib.cmake
++++ cmake/FindTaglib.cmake
+@@ -31,10 +31,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)
+ 
+@@ -44,7 +44,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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601051322.u05DMR96033928>