diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-11 09:45:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-11 09:47:26 +0000 |
commit | a1d2eb585b98388216c0a547288ac91435e8e3f8 (patch) | |
tree | 795334802ac6b60c7d9ab8f443b3accddc6fe459 /main/alsa-lib/APKBUILD | |
parent | 45f1983a73da1a7f785d8110cce63bbf2240fc18 (diff) | |
download | aports-a1d2eb585b98388216c0a547288ac91435e8e3f8.tar.bz2 aports-a1d2eb585b98388216c0a547288ac91435e8e3f8.tar.xz |
main/alsa-lib: disable use of wordexp
wordexp will execute in a shell, which breaks firefox sandbox. The use
of wordexp is questionable so we disable use of wordexp by fooling
configure script that we dont have it.
ref #7454
Diffstat (limited to 'main/alsa-lib/APKBUILD')
-rw-r--r-- | main/alsa-lib/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD index 80d865e0bf..a901778c15 100644 --- a/main/alsa-lib/APKBUILD +++ b/main/alsa-lib/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=alsa-lib pkgver=1.1.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="An alternative implementation of Linux sound support" url="http://www.alsa-project.org" arch="all" @@ -24,6 +24,10 @@ prepare() { build() { cd "$builddir" + # musl does support wordexp but we don't want alsa to use it since it will + # execute /bin/sh and break things like firefox sandbox + # https://bugs.alpinelinux.org/issues/7454 + ac_cv_header_wordexp_h=no \ ./configure \ --build=$CBUILD \ --host=$CHOST \ |