1From 4e00087b393183493a0f7115fd41efc867bd3421 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Sun, 1 Jan 2023 21:30:23 -0800 4Subject: [PATCH] zlib: Do not undefine _FILE_OFFSET_BITS 5 6This is required for 64bit time_t to work with glibc as it needs 7_FILE_OFFSET_BITS to be defined as 64 as well. 8 9Upstream-Status: Pending 10Signed-off-by: Khem Raj <raj.khem@gmail.com> 11--- 12 src/3rdparty/zlib/src/gzguts.h | 9 --------- 13 1 file changed, 9 deletions(-) 14 15diff --git a/src/3rdparty/zlib/src/gzguts.h b/src/3rdparty/zlib/src/gzguts.h 16index 20de7cb4ce..f6ab9357c7 100644 17--- a/src/3rdparty/zlib/src/gzguts.h 18+++ b/src/3rdparty/zlib/src/gzguts.h 19@@ -12,15 +12,6 @@ 20 # endif 21 #endif 22 23-#ifdef _LARGEFILE64_SOURCE 24-# ifndef _LARGEFILE_SOURCE 25-# define _LARGEFILE_SOURCE 1 26-# endif 27-# ifdef _FILE_OFFSET_BITS 28-# undef _FILE_OFFSET_BITS 29-# endif 30-#endif 31- 32 #ifndef QT_BOOTSTRAPPED 33 # include <qconfig.h> 34 #endif 35-- 362.39.0 37 38