From 84357741a6a6e6430f199b2c3f7498e0e97da9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 12 Feb 2023 17:35:53 +0100 Subject: New upstream version 1.2.1 --- frontend/jpegtopdf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'frontend/jpegtopdf.c') diff --git a/frontend/jpegtopdf.c b/frontend/jpegtopdf.c index 8f144b5..5c5d712 100644 --- a/frontend/jpegtopdf.c +++ b/frontend/jpegtopdf.c @@ -201,7 +201,11 @@ static SANE_Int _get_current_time( struct tm *pt, SANE_Byte *sign_c, int *ptz_h, goto EXIT; } /* get time difference ( OHH'mm' ) */ +#ifdef __FreeBSD__ + tz = -pt->tm_gmtoff; +#else tz = timezone; +#endif if ( tz > 0 ) { *sign_c = '-'; } -- cgit v1.2.3