Open emaste opened 1 year ago
Note that the FreeBSD-specific fix uses #ifdef __FreeBSD__
to go into the code path that uses struct tm
's tm_gmtoff
field, but I think this might even be applicable to anything that isn't glibc. E.g., musl (on Linux) does not have a global timezone
variable either.
Note also that recent versions of glibc seem to have added a tm_gmtoff
field too, so maybe the whole messing with #ifdef is not really necessary anymore. I don't know when glibc introduced it, though.
Expected behaviour
mate-panel builds successfully
Actual behaviour
From the FreeBSD bug report:
Steps to reproduce the behaviour
Build mate-panel on FreeBSD with Clang 15 as the system compiler.
MATE general version
1.26.0
Package version
1.26.0
Distribution
FreeBSD
Link to bugreport of your Distribution (requirement)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268795 (includes patch)