flac: update to 1.3.3.

This commit is contained in:
Leah Neukirchen 2019-08-10 21:06:29 +02:00
parent 2c700c5819
commit 81944f5573
2 changed files with 3 additions and 16 deletions

View file

@ -1,13 +0,0 @@
# Upstream: Yes
--- a/src/libFLAC/stream_decoder.c
+++ b/src/libFLAC/stream_decoder.c
@@ -1753,6 +1753,9 @@ FLAC__bool read_metadata_vorbiscomment_(FLAC__StreamDecoder *decoder, FLAC__Stre
}
memset (obj->comments[i].entry, 0, obj->comments[i].length) ;
if (!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, obj->comments[i].entry, obj->comments[i].length)) {
+ /* Current i-th entry is bad, so we delete it. */
+ free (obj->comments[i].entry) ;
+ obj->comments[i].entry = NULL ;
obj->num_comments = i;
goto skip;
}

View file

@ -1,7 +1,7 @@
# Template file for 'flac'
pkgname=flac
version=1.3.2
revision=4
version=1.3.3
revision=1
patch_args="-Np1"
build_style=gnu-configure
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://flac.sourceforge.net/"
license="BSD-3-Clause, GPL-2"
distfiles="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
checksum=91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f
checksum=213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748
post_install() {
vlicense COPYING.Xiph