File libtunepimp-configure-taglib-two-dots-in-version-fix.patch of Package libtunepimp

Index: libtunepimp-0.5.3/acinclude.m4
===================================================================
--- libtunepimp-0.5.3.orig/acinclude.m4
+++ libtunepimp-0.5.3/acinclude.m4
@@ -22,7 +22,7 @@ AC_DEFUN([AC_CHECK_TAGLIB], [
     echo "*** in your path, and that taglib is properly installed."
     echo "*** Or see http://developer.kde.org/~wheeler/taglib.html"
   else
-    TAGLIB_VERSION=`$TAGLIB_CONFIG --version`
+    TAGLIB_VERSION=`$TAGLIB_CONFIG --version | sed "s/\(@<:@0-9@:>@\+\.@<:@0-9@:>@\+\)\.@<:@0-9@:>@\+/\1/"`
     AC_MSG_CHECKING(for taglib >= $1)
         VERSION_CHECK=$(if @<:@ $(echo "$TAGLIB_VERSION >= $1" | /usr/bin/bc -l) @:>@ ; then echo 1 ; else echo 0 ; fi)
         if test "$VERSION_CHECK" = "1" ; then
openSUSE Build Service is sponsored by