You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
822 B

Index: libqpdf/QUtil.cc
--- libqpdf/QUtil.cc.orig 2025-05-04 18:40:46.000000000 +0200
+++ libqpdf/QUtil.cc 2025-05-05 10:43:05.561769000 +0200
@@ -893,7 +893,7 @@
# else
ltime = *localtime(&now);
# endif
-# if HAVE_TM_GMTOFF
+# if HAVE_EXTERN_TM_GMTOFF
// tm_gmtoff is seconds after UTC
int tzoff = -static_cast<int>(ltime.tm_gmtoff / 60);
# elif HAVE_EXTERN_LONG_TIMEZONE
Index: libqpdf/qpdf/qpdf-config.h.in
--- libqpdf/qpdf/qpdf-config.h.in.orig 2025-05-04 18:40:46.000000000 +0200
+++ libqpdf/qpdf/qpdf-config.h.in 2025-05-05 10:43:05.561930000 +0200
@@ -21,7 +21,7 @@
#cmakedefine HAVE_FSEEKO64 1
#cmakedefine HAVE_LOCALTIME_R 1
#cmakedefine HAVE_RANDOM 1
-#cmakedefine HAVE_TM_GMTOFF 1
+#cmakedefine HAVE_EXTERN_TM_GMTOFF 1
#cmakedefine HAVE_MALLOC_INFO 1
#cmakedefine HAVE_OPEN_MEMSTREAM 1