From 521ca1a63119b9b053102609484525b4a05e212e Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 7 Oct 2023 13:21:29 -0400 Subject: more minizip patches --- .../files/chromium-119-minizip-types.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 www-client/chromium/files/chromium-119-minizip-types.patch (limited to 'www-client/chromium/files') diff --git a/www-client/chromium/files/chromium-119-minizip-types.patch b/www-client/chromium/files/chromium-119-minizip-types.patch new file mode 100644 index 0000000..3d1a0f7 --- /dev/null +++ b/www-client/chromium/files/chromium-119-minizip-types.patch @@ -0,0 +1,23 @@ +diff --git a/third_party/zlib/google/zip_internal.cc b/third_party/zlib/google/zip_internal.cc +index 378bc04632..2fb9283909 100644 +--- a/third_party/zlib/google/zip_internal.cc ++++ b/third_party/zlib/google/zip_internal.cc +@@ -261,12 +261,12 @@ zip_fileinfo TimeToZipFileInfo(const base::Time& file_time) { + // Hence the fail safe option is to leave the date unset. Some programs + // might show the unset date as 1980-0-0 which is invalid. + zip_info.tmz_date = { +- .tm_sec = static_cast(file_time_parts.second), +- .tm_min = static_cast(file_time_parts.minute), +- .tm_hour = static_cast(file_time_parts.hour), +- .tm_mday = static_cast(file_time_parts.day_of_month), +- .tm_mon = static_cast(file_time_parts.month - 1), +- .tm_year = static_cast(file_time_parts.year)}; ++ .tm_sec = static_cast(file_time_parts.second), ++ .tm_min = static_cast(file_time_parts.minute), ++ .tm_hour = static_cast(file_time_parts.hour), ++ .tm_mday = static_cast(file_time_parts.day_of_month), ++ .tm_mon = static_cast(file_time_parts.month - 1), ++ .tm_year = static_cast(file_time_parts.year)}; + } + + return zip_info; -- cgit v1.2.3