Revert "libvorbis: update to 1.3.6."

This reverts commit d9735126b1.
This commit is contained in:
Andrea Brancaleoni 2018-04-12 19:12:25 +02:00
parent 8220866cae
commit 629664b1d6
4 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,10 @@
--- lib/info.c
+++ lib/info.c
@@ -584,6 +584,7 @@ int vorbis_analysis_headerout(vorbis_dsp
private_state *b=v->backend_state;
if(!b||vi->channels<=0){
+ b = NULL;
ret=OV_EFAULT;
goto err_out;
}

View File

@ -0,0 +1,11 @@
--- lib/info.c
+++ lib/info.c
@@ -583,7 +583,7 @@ int vorbis_analysis_headerout(vorbis_dsp
oggpack_buffer opb;
private_state *b=v->backend_state;
- if(!b||vi->channels<=0){
+ if(!b||vi->channels<=0||vi->channels>256){
b = NULL;
ret=OV_EFAULT;
goto err_out;

View File

@ -0,0 +1,9 @@
--- autogen.sh.orig 2013-03-21 17:21:18.281013739 +0100
+++ autogen.sh 2013-03-21 17:21:23.960040231 +0100
@@ -124,6 +124,3 @@ echo " $AUTOMAKE --add-missing $AUTOMAK
$AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1
echo " autoconf"
autoconf || exit 1
-
-cd $olddir
-$srcdir/configure --enable-maintainer-mode "$@" && echo

View File

@ -1,16 +1,16 @@
# Template file for 'libvorbis'.
pkgname=libvorbis
version=1.3.6
revision=1
version=1.3.5
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libogg-devel"
short_desc="The Vorbis General Audio Compression Codec"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
license="BSD"
homepage="http://www.xiph.org/vorbis/"
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
checksum=6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb
checksum=6efbcecdd3e5dfbf090341b485da9d176eb250d893e3eb378c428a2db38301ce
pre_configure() {
autoreconf -fi -I m4