Subject: [alpine-aports] [PATCH] testing/alsa-plugins: fix double-free

From: Paul Bredbury <[email-masked]>
Date: Mon, 7 Jan 2019 22:44:51 +0000

As per https://bugs.gentoo.org/673792

Stops my USB audio from sometimes cutting out.
---
 testing/alsa-plugins/APKBUILD | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/testing/alsa-plugins/APKBUILD b/testing/alsa-plugins/APKBUILD
index 5fdfec4cbc..3942ab342d 100644
--- a/testing/alsa-plugins/APKBUILD
+++ b/testing/alsa-plugins/APKBUILD
@@ -1,14 +1,15 @@
 # Maintainer: Taner Tas <[email-masked]>
 pkgname=alsa-plugins
 pkgver=1.1.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Advanced Linux Sound Architecture (ALSA) plugins"
 url="http://www.alsa-project.org"
 arch="all !s390x"
 license="GPL-2.0-or-later LGPL-2.1-or-later"
 makedepends="linux-headers alsa-lib-dev speex-dev ffmpeg-dev libsamplerate-dev pulseaudio-dev jack-dev"
 subpackages="$pkgname-pulse $pkgname-doc $pkgname-lavrate $pkgname-a52 $pkgname-jack"
-source="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
+source="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2
+	$pkgname-$pkgver-double_free_fix.patch::http://git.alsa-project.org/?p=alsa-plugins.git;a=commitdiff_plain;h=a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9"
 
 prepare() {
 	default_prepare
@@ -72,4 +73,5 @@ package() {
 	find $pkgdir -name *.la -type f -exec rm -f {} \;
 }
 
-sha512sums="c3bb22ec3c5a167fb246cfc94131d53800e321b486ab743c3395a9d91dee0ff9703f6e4a2feaea5a4ee42a7e486d835d48ab880c784c5c34bb4eb5e9ded06d8e  alsa-plugins-1.1.7.tar.bz2"
+sha512sums="c3bb22ec3c5a167fb246cfc94131d53800e321b486ab743c3395a9d91dee0ff9703f6e4a2feaea5a4ee42a7e486d835d48ab880c784c5c34bb4eb5e9ded06d8e  alsa-plugins-1.1.7.tar.bz2
+f1e595667b16108f1b8b979a73dce65a07a3e2a44ed1d24bcdaff130d8a3796045a0b3ff62be45237b95c5912c3a9cacdba7d9dc6f01c9e5f7426ed8464ab11d  alsa-plugins-1.1.7-double_free_fix.patch"
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---