opnsense-ports/comms/hamlib/files/patch-src_misc.c
Franco Fichtner 8e467916c1 */*: sync with upstream
Taken from: FreeBSD
2023-02-17 09:06:26 +01:00

12 lines
320 B
C

--- src/misc.c.orig 2023-01-01 00:12:52 UTC
+++ src/misc.c
@@ -2581,7 +2581,8 @@ char *date_strget(char *buf, int buflen, int localtime
if (localtime)
{
mytm = localtime_r(&t, &result);
- mytimezone = timezone;
+ /* For FreeBSD */
+ mytimezone = mytm->tm_gmtoff;
}
else
{