apr: modify another not detected flag in apr.h

This commit is contained in:
Jürgen Buchmüller 2020-01-31 20:20:37 +01:00
parent 74e6933d12
commit b302f559bc

View file

@ -1,7 +1,7 @@
# Template file for 'apr'
pkgname=apr
version=1.7.0
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-installbuilddir=/usr/share/apr-1/build"
makedepends="expat-devel libuuid-devel"
@ -39,6 +39,7 @@ pre_build() {
# Fixup some not detected configure results to match native builds
vsed -i include/apr.h \
-e "/#define APR_HAVE_SHMEM_MMAP_ZERO/s;0;1;" \
-e "/#define APR_HAVE_IOVEC/s;0;1;" \
-e "/#define APR_HAS_POSIXSEM_SERIALIZE/s;0;1;" \
-e "/#define APR_HAS_PROC_PTHREAD_SERIALIZE/s;0;1;"
fi