Subject: [PATCH] main/libcdio-paranoia: fix wrong version in .pc files

From: alpine-mips-patches <[email-masked]>
Date: Fri, 15 Nov 2019 05:01:41 +0000

---
 main/libcdio-paranoia/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/libcdio-paranoia/APKBUILD b/main/libcdio-paranoia/APKBUILD
index a8540967ec..0e92007dfc 100644
--- a/main/libcdio-paranoia/APKBUILD
+++ b/main/libcdio-paranoia/APKBUILD
@@ -2,7 +2,7 @@
 pkgname=libcdio-paranoia
 pkgver=2.0.0
 _pkgver="10.2+${pkgver/_p/+}"
-pkgrel=1
+pkgrel=2
 pkgdesc="CD paranoia on top of libcdio"
 url="https://www.gnu.org/software/libcdio/"
 arch="all"
@@ -16,7 +16,7 @@ prepare() {
 	default_prepare
 
 	cd "$builddir"
-	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/;s/$1+$2/$2/' configure.ac
 	autoreconf -i
 }
 
-- 
2.24.0