diff options
author | he <he@pkgsrc.org> | 2022-10-07 20:22:56 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2022-10-07 20:22:56 +0000 |
commit | 50c52220cdb28c3d3a0f4b9310b787da331361f7 (patch) | |
tree | 345b569db53f1bc16fb12aa81d6d8e6e861c36c7 /audio | |
parent | 6babc3338887f2775ec2d02686195325c4c3ea06 (diff) | |
download | pkgsrc-50c52220cdb28c3d3a0f4b9310b787da331361f7.tar.gz |
sysutils/rsyslog: also test for atomic ops on time_t.
This is to cater to 32-bit NetBSD ports, where time_t is also
(and has been for a long time) __int64_t. Without this check,
__sync_bool_compare_and_swap_8 would end up being undefined when
linking rsyslog, since the compiler isn't obliged to supply that.
This causes the pthread / locking variant to be chosen on these
systems, but makes rsyslog build, at least.
(An earlier attempt at doing this only for time_t was met with
complications and was therefore abandoned.)
There's also just a single use of ATOMIC_CAS_time_t() in rsyslog...
Submitted upstream in
https://github.com/rsyslog/rsyslog/pull/4994
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions