From 1b31f39a310dc01b82eef3b473e58b3be2398295 Mon Sep 17 00:00:00 2001 From: alihanozturk Date: Thu, 16 Feb 2017 20:10:47 +0300 Subject: [PATCH] taglib-extras:add patch --- .../taglib-extras/files/taglib-1.10.patch | 24 +++++++++++++++++++ multimedia/misc/taglib-extras/pspec.xml | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 multimedia/misc/taglib-extras/files/taglib-1.10.patch diff --git a/multimedia/misc/taglib-extras/files/taglib-1.10.patch b/multimedia/misc/taglib-extras/files/taglib-1.10.patch new file mode 100644 index 0000000000..dfcf963aab --- /dev/null +++ b/multimedia/misc/taglib-extras/files/taglib-1.10.patch @@ -0,0 +1,24 @@ +--- taglib-extras-1.0.1/cmake/modules/FindTaglib.cmake 2009-03-13 22:40:24.000000000 +0100 ++++ taglib-extras-1.0.1/cmake/modules/FindTaglib.cmake.fix 2015-12-06 21:26:46.873893311 +0100 +@@ -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) diff --git a/multimedia/misc/taglib-extras/pspec.xml b/multimedia/misc/taglib-extras/pspec.xml index 78e0424af7..394b792c2f 100644 --- a/multimedia/misc/taglib-extras/pspec.xml +++ b/multimedia/misc/taglib-extras/pspec.xml @@ -18,6 +18,9 @@ cmake taglib-devel + + taglib-1.10.patch + taglib-extras