aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-06-24 12:48:40 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-06-24 12:50:14 +0300
commitd911f2daafe662bea88751ecc9a84d183a76fdeb (patch)
treef98597edad61f6c35588cdfee827d035a9654355 /main/clamav
parentdd19c7f3e91afa08ea0ae4e43e12974c09141294 (diff)
downloadaports-d911f2daafe662bea88751ecc9a84d183a76fdeb.tar.bz2
aports-d911f2daafe662bea88751ecc9a84d183a76fdeb.tar.xz
main/clamav: force large stacks on musl
clamav assumes glibc on linux with huge stacks; but musl has smallish default stack size similar to bsd. force clamav to manually set required sizes to work without crashing.
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 241ef65b60..b94447d239 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.98.4
-pkgrel=0
+pkgrel=1
pkgusers="clamav"
pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX"
@@ -54,6 +54,7 @@ build() {
--with-group=clamav \
--with-dbdir=/var/lib/clamav \
--enable-clamdtop \
+ --enable-bigstack \
|| return 1
make || return 1
}