[vlc-devel] [PATCH] speex: fix pkg-config file generation

Edward Wang edward.c.wang at compdigitec.com
Thu Oct 24 04:40:10 CEST 2013


Avoid generating a blank 'Version' field by moving the declaration after AC_INIT
---
 contrib/src/speex/automake.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/src/speex/automake.patch b/contrib/src/speex/automake.patch
index 59015e6..82b7656 100644
--- a/contrib/src/speex/automake.patch
+++ b/contrib/src/speex/automake.patch
@@ -1,6 +1,6 @@
 --- speex/configure.ac.orig	2013-10-16 12:58:06.707579608 +0200
 +++ speex/configure.ac	2013-10-16 12:58:21.423579879 +0200
-@@ -1,9 +1,5 @@
+@@ -1,32 +1,29 @@
  dnl Process this file with autoconf to produce a configure script. -*-m4-*-
  
 -AC_INIT(libspeex/speex.c)
@@ -10,11 +10,11 @@
  SPEEX_MAJOR_VERSION=1
  SPEEX_MINOR_VERSION=1
  SPEEX_MICRO_VERSION=16
-@@ -11,22 +7,23 @@
+ SPEEX_EXTRA_VERSION=
  #SPEEX_VERSION=
  #SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION$SPEEX_EXTRA_VERSION
- SPEEX_VERSION="1.2rc1"
 +AC_INIT([speex], 1.2rc1)
+ SPEEX_VERSION="1.2rc1"
  
  SPEEX_LT_CURRENT=6
  SPEEX_LT_REVISION=0
-- 
1.8.4.rc3




More information about the vlc-devel mailing list