diff options
Diffstat (limited to 'main/cdrkit')
-rw-r--r-- | main/cdrkit/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/cdrkit/APKBUILD b/main/cdrkit/APKBUILD index dbc01e599c..145949a2a0 100644 --- a/main/cdrkit/APKBUILD +++ b/main/cdrkit/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cdrkit pkgver=1.1.11 -pkgrel=1 +pkgrel=2 pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction" url="http://cdrkit.org/" arch="all" @@ -12,8 +12,17 @@ subpackages="$pkgname-doc" source="http://$pkgname.org/releases/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + # disable rcmd, it is security risk and not implemented in musl + sed -i include/xconfig.h.in -e "s/#define HAVE_RCMD 1/#undef HAVE_RCMD/g" +} + build() { cd "$_builddir" + case "$CLIBC" in + musl) export CFLAGS="$CFLAGS -D__THROW=''" ;; + esac make || return 1 } |