summaryrefslogtreecommitdiffstats
path: root/package/apr
diff options
context:
space:
mode:
authorJulien Beraud <julien.beraud@spectracom.orolia.com>2017-03-21 14:23:56 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-21 22:55:28 +0100
commitee8cbc5fca779ff054a50ed8e6271952367147c7 (patch)
treef16444f6cce659e380d3f580dce721957cebf27e /package/apr
parentfc741ba9b3c8b5cd602a01f53798ca577a4975dd (diff)
downloadbuildroot-ee8cbc5fca779ff054a50ed8e6271952367147c7.tar.gz
buildroot-ee8cbc5fca779ff054a50ed8e6271952367147c7.zip
apr: fix size of pid_t
pid_t is a signed 32bits integer on both 32bits and 64bits architectures. This fixes an issue with apache server which causes bad pid to be written in PidFile Signed-off-by: Julien Beraud <julien.beraud@spectracom.orolia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/apr')
-rw-r--r--package/apr/apr.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/apr/apr.mk b/package/apr/apr.mk
index 361a79f99b..f09f94368c 100644
--- a/package/apr/apr.mk
+++ b/package/apr/apr.mk
@@ -22,6 +22,7 @@ APR_CONF_ENV = \
apr_cv_mutex_robust_shared=no \
apr_cv_tcp_nodelay_with_cork=yes \
ac_cv_sizeof_struct_iovec=8 \
+ ac_cv_sizeof_pid_t=4 \
ac_cv_struct_rlimit=yes \
ac_cv_o_nonblock_inherited=no \
apr_cv_mutex_recursive=yes
OpenPOWER on IntegriCloud