diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-20 10:45:40 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-20 10:45:40 +0100 |
commit | 0d4a83d56c750d0248314d7e42864cc8bcbf2409 (patch) | |
tree | 0e4a845bd22c560393e73c65480c208fa49ff278 /extra/a52dec | |
parent | 510e46e27a20e01134b2a7a8da3774336cf279aa (diff) |
Fix a52dec build.
Diffstat (limited to 'extra/a52dec')
-rw-r--r-- | extra/a52dec/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/a52dec/configure.patch | 18 |
2 files changed, 24 insertions, 2 deletions
diff --git a/extra/a52dec/PKGBUILD b/extra/a52dec/PKGBUILD index 9a34c5a65..4995e372c 100644 --- a/extra/a52dec/PKGBUILD +++ b/extra/a52dec/PKGBUILD @@ -13,12 +13,16 @@ license=('GPL2') depends=('glibc') options=(!libtool) source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz" - 'a52dec-0.7.4-build.patch') + 'a52dec-0.7.4-build.patch' + 'configure.patch') md5sums=('caa9f5bc44232dc8aeea773fea56be80' - 'fa16f224a7dceb7613824380abef0052') + 'fa16f224a7dceb7613824380abef0052' + 'ccaa978e70cc74b364486bd72fd38d1d') build() { cd "${srcdir}/${pkgname}-${pkgver}" + mv configure.in configure.ac + patch -p0 -i "$srcdir/configure.patch" patch -Np1 -i "${srcdir}/a52dec-0.7.4-build.patch" ./bootstrap ./configure --prefix=/usr --enable-shared \ diff --git a/extra/a52dec/configure.patch b/extra/a52dec/configure.patch new file mode 100644 index 000000000..6f109d824 --- /dev/null +++ b/extra/a52dec/configure.patch @@ -0,0 +1,18 @@ +--- configure.in 2002-07-28 05:50:20.000000000 +0200 ++++ configure.ac 2013-02-20 10:38:15.263223716 +0100 +@@ -1,12 +1,12 @@ + dnl Process this file with autoconf to produce a configure script. + AC_PREREQ(2.52) +-AC_INIT ++AC_INIT([a52dec],[0.7.4]) + AC_CONFIG_SRCDIR([src/a52dec.c]) + AC_CONFIG_AUX_DIR(autotools) + AC_CONFIG_FILES([Makefile autotools/Makefile include/Makefile test/Makefile + doc/Makefile src/Makefile liba52/Makefile libao/Makefile vc++/Makefile]) +-AM_INIT_AUTOMAKE([a52dec],[0.7.4]) +-AM_CONFIG_HEADER(include/config.h) ++AM_INIT_AUTOMAKE ++AC_CONFIG_HEADERS(include/config.h) + AM_MAINTAINER_MODE + AC_CANONICAL_HOST + |