1From a6ed61f9435d25abdb71c2a2b84b204f180eb822 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Tue, 3 Jan 2023 14:10:23 -0800 4Subject: [PATCH] Remove unsetting _FILE_OFFSET_BITS 5 6This does not work when enabling 64bit time_t with glibc which is enabled with -D_TIME_BITS=64, since it also needs 7_FILE_OFFSET_BITS=64 and this does not work when its undefined explicitly 8 9Upstream-Status: Submitted [https://github.com/madler/zlib/pull/764] 10Signed-off-by: Khem Raj <raj.khem@gmail.com> 11--- 12 chromium/third_party/zlib/gzguts.h | 9 --------- 13 1 file changed, 9 deletions(-) 14 15diff --git a/chromium/third_party/zlib/gzguts.h b/chromium/third_party/zlib/gzguts.h 16index 990a4d25149..a03d5005070 100644 17--- a/chromium/third_party/zlib/gzguts.h 18+++ b/chromium/third_party/zlib/gzguts.h 19@@ -3,15 +3,6 @@ 20 * For conditions of distribution and use, see copyright notice in zlib.h 21 */ 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 #ifdef HAVE_HIDDEN 33 # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 34 #else 35-- 362.39.0 37 38