shithub: opus

Download patch

ref: a8ac44b670765b201503325d92de902b730bce7d
parent: 9d8b51969987fa5e4c5fa58f3e7d3bfb76bf6b1c
author: Jean-Marc Valin <[email protected]>
date: Fri Aug 5 04:47:24 EDT 2011

Using the real version name instead of the last tag name

--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@
 
 OPUS_VERSION="$OPUS_MAJOR_VERSION.$OPUS_MINOR_VERSION.$OPUS_MICRO_VERSION$OPUS_EXTRA_VERSION"
 AC_MSG_CHECKING([git revision])
-GIT_VERSION=$(git describe --tags 2>/dev/null)
+GIT_VERSION=$(git describe --tags --match 'v*' 2>/dev/null | sed 's/^v//')
 if test -z "$GIT_VERSION"; then
   AC_MSG_RESULT([no])
 else