hurd_shm_flock

Bug: #656880

# * hurd_shm_flock.diff
# This patch disables all the methods for shared memory and file locking
# found by the configure checks, forcing the only working ones.
# This patch should stay Debian-specific, as it is not that suitable for
# upstream inclusion. (As you can guess, ideally all of those
# non-working methods should be ideally fixed in Hurd...)


Gbp-Pq: Name hurd_shm_flock.patch
This commit is contained in:
Pino Toscano 2023-01-16 15:55:44 +08:00 committed by zhouganqing
parent ddae25897d
commit 467fb8c407
1 changed files with 20 additions and 0 deletions

View File

@ -1253,6 +1253,13 @@ case $host in
APR_DECISION_OVERRIDE(USE_SHMEM_SHMGET_ANON)
;;
esac
case $host_os in
gnu* )
haveshmgetanon="0"
havemmapanon="0"
APR_DECISION_OVERRIDE(USE_SHMEM_MMAP_ZERO)
;;
esac
APR_END_DECISION
AC_DEFINE_UNQUOTED($ac_decision)
@ -1326,6 +1333,13 @@ case $host in
fi
;;
esac
case $host_os in
gnu* )
havemmapshm="0"
haveshmget="0"
APR_DECISION_OVERRIDE(USE_SHMEM_MMAP_TMP)
;;
esac
APR_END_DECISION
AC_DEFINE_UNQUOTED($ac_decision)
@ -2381,6 +2395,12 @@ esac
if test "x$apr_lock_method" != "x"; then
APR_DECISION_FORCE($apr_lock_method)
fi
case $host_os in
gnu* )
hasfcntlser="0"
APR_DECISION_OVERRIDE(USE_FLOCK_SERIALIZE)
;;
esac
APR_END_DECISION
AC_DEFINE_UNQUOTED($ac_decision)