Describe the bug
ipmitool 1.8.19 do not build on FreeBSD older that the upcoming devel-branch 15.
So on all release (13 and 14) the build fails with this error:
ipmi_time.c:108:3: error: use of undeclared identifier 'daylight'
daylight = -1;
^
it seems this daylight variable isn’t correctly exported in the include time.h.
IPMITOOL Version
1.8.19
To Reproduce
Just building on FreeBSD.
We’ve "fixed" this problem by deleting the culprid line.
https://cgit.freebsd.org/ports/commit/?id=643f82bb3aee9d2d137390054012a65030dcb849
But this is not the correct way to fix this problem.
The build is working on the development branch because of this commit in FreeBSD time.h that is hidding daylight in a __XSI_VISIBLE condition:
https://cgit.freebsd.org/src/commit/?id=a34940a9756ac8edce36fec176949ee82e9235b4
But I have no idea of how to fix this cleanly on release 13 and 14.
**Describe the bug**
ipmitool 1.8.19 do not build on FreeBSD older that the upcoming devel-branch 15.
So on all release (13 and 14) the build fails with this error:
```
ipmi_time.c:108:3: error: use of undeclared identifier 'daylight'
daylight = -1;
^
```
it seems this daylight variable isn’t correctly exported in the include time.h.
**IPMITOOL Version**
1.8.19
**To Reproduce**
Just building on FreeBSD.
We’ve "fixed" this problem by deleting the culprid line.
https://cgit.freebsd.org/ports/commit/?id=643f82bb3aee9d2d137390054012a65030dcb849
But this is not the correct way to fix this problem.
The build is working on the development branch because of this commit in FreeBSD time.h that is hidding daylight in a __XSI_VISIBLE condition:
https://cgit.freebsd.org/src/commit/?id=a34940a9756ac8edce36fec176949ee82e9235b4
But I have no idea of how to fix this cleanly on release 13 and 14.