summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2023-10-07 13:21:29 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2023-10-07 13:21:29 -0400
commit521ca1a63119b9b053102609484525b4a05e212e (patch)
treec99b2369fd8ed79b0368aea6ff53d5670aaa2c36 /www-client/chromium/files
parent15d9bcfa4f6fd7248890021d3ee4e83e8aa80476 (diff)
downloadppo-521ca1a63119b9b053102609484525b4a05e212e.tar.xz
more minizip patches
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-119-minizip-types.patch23
1 files changed, 23 insertions, 0 deletions
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<uInt>(file_time_parts.second),
+- .tm_min = static_cast<uInt>(file_time_parts.minute),
+- .tm_hour = static_cast<uInt>(file_time_parts.hour),
+- .tm_mday = static_cast<uInt>(file_time_parts.day_of_month),
+- .tm_mon = static_cast<uInt>(file_time_parts.month - 1),
+- .tm_year = static_cast<uInt>(file_time_parts.year)};
++ .tm_sec = static_cast<int>(file_time_parts.second),
++ .tm_min = static_cast<int>(file_time_parts.minute),
++ .tm_hour = static_cast<int>(file_time_parts.hour),
++ .tm_mday = static_cast<int>(file_time_parts.day_of_month),
++ .tm_mon = static_cast<int>(file_time_parts.month - 1),
++ .tm_year = static_cast<int>(file_time_parts.year)};
+ }
+
+ return zip_info;