From 513d8b8d632b89a61163737661509b4b16289dcf Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Fri, 16 Sep 2022 18:39:48 -0400 Subject: minizip? --- .../chromium/files/chromium-107-minizip.patch | 147 +++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 www-client/chromium/files/chromium-107-minizip.patch (limited to 'www-client/chromium/files') diff --git a/www-client/chromium/files/chromium-107-minizip.patch b/www-client/chromium/files/chromium-107-minizip.patch new file mode 100644 index 0000000..7f9026a --- /dev/null +++ b/www-client/chromium/files/chromium-107-minizip.patch @@ -0,0 +1,147 @@ +diff --git a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_extractor.cc b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_extractor.cc +index 1b01755e1..65550e8fd 100644 +--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_extractor.cc ++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_extractor.cc +@@ -27,8 +27,8 @@ limitations under the License. + #include "tensorflow_lite_support/cc/port/status_macros.h" + #include "tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.h" + #include "tensorflow_lite_support/metadata/metadata_schema_generated.h" +-#include "third_party/zlib/contrib/minizip/ioapi.h" +-#include "third_party/zlib/contrib/minizip/unzip.h" ++#include "minizip/ioapi.h" ++#include "minizip/unzip.h" + + namespace tflite { + namespace metadata { +diff --git a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_populator.cc b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_populator.cc +index 01c68515a..7a53974f2 100644 +--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_populator.cc ++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/metadata_populator.cc +@@ -26,8 +26,8 @@ limitations under the License. + #include "tensorflow_lite_support/cc/port/statusor.h" + #include "tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.h" + #include "tensorflow_lite_support/metadata/metadata_schema_generated.h" +-#include "third_party/zlib/contrib/minizip/ioapi.h" +-#include "third_party/zlib/contrib/minizip/unzip.h" ++#include "minizip/ioapi.h" ++#include "minizip/unzip.h" + + namespace tflite { + namespace metadata { +diff --git a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.cc b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.cc +index 392b6b411..80ad84900 100644 +--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.cc ++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.cc +@@ -19,7 +19,7 @@ limitations under the License. + #include + + #include "absl/strings/string_view.h" // from @com_google_absl +-#include "contrib/minizip/ioapi.h" ++#include "minizip/ioapi.h" + + namespace tflite { + namespace metadata { +diff --git a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.h b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.h +index 72413a0a5..38c9278da 100644 +--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.h ++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_readonly_mem_file.h +@@ -19,7 +19,7 @@ limitations under the License. + #include + + #include "absl/strings/string_view.h" // from @com_google_absl +-#include "third_party/zlib/contrib/minizip/ioapi.h" ++#include "minizip/ioapi.h" + + namespace tflite { + namespace metadata { +diff --git a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.cc b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.cc +index 3ba91b5e2..646822093 100644 +--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.cc ++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.cc +@@ -19,7 +19,7 @@ limitations under the License. + #include + + #include "absl/strings/string_view.h" // from @com_google_absl +-#include "third_party/zlib/contrib/minizip/ioapi.h" ++#include "minizip/ioapi.h" + + namespace tflite { + namespace metadata { +diff --git a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.h b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.h +index 3d329925d..da6ff5ad8 100644 +--- a/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.h ++++ b/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/utils/zip_writable_mem_file.h +@@ -19,7 +19,7 @@ limitations under the License. + #include + + #include "absl/strings/string_view.h" // from @com_google_absl +-#include "third_party/zlib/contrib/minizip/ioapi.h" ++#include "minizip/ioapi.h" + + namespace tflite { + namespace metadata { +diff --git a/third_party/zlib/google/zip_internal.cc b/third_party/zlib/google/zip_internal.cc +index 1adf2e6d0..c8cf33c25 100644 +--- a/third_party/zlib/google/zip_internal.cc ++++ b/third_party/zlib/google/zip_internal.cc +@@ -17,7 +17,7 @@ + #include "base/strings/string_util.h" + #include "base/strings/utf_string_conversions.h" + +-#if defined(USE_SYSTEM_MINIZIP) ++#if 1//defined(USE_SYSTEM_MINIZIP) + #include + #include + #include +diff --git a/third_party/zlib/google/zip_internal.h b/third_party/zlib/google/zip_internal.h +index 92833fa17..343f6e291 100644 +--- a/third_party/zlib/google/zip_internal.h ++++ b/third_party/zlib/google/zip_internal.h +@@ -14,7 +14,7 @@ + #include + #endif + +-#if defined(USE_SYSTEM_MINIZIP) ++#if 1//defined(USE_SYSTEM_MINIZIP) + #include + #include + #else +diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc +index 075ba70aa..8be91a5ef 100644 +--- a/third_party/zlib/google/zip_reader.cc ++++ b/third_party/zlib/google/zip_reader.cc +@@ -23,7 +23,7 @@ + #include "third_party/zlib/google/redact.h" + #include "third_party/zlib/google/zip_internal.h" + +-#if defined(USE_SYSTEM_MINIZIP) ++#if 1//defined(USE_SYSTEM_MINIZIP) + #include + #else + #include "third_party/zlib/contrib/minizip/unzip.h" +diff --git a/third_party/zlib/google/zip_reader.h b/third_party/zlib/google/zip_reader.h +index 286ddfd9b..616bd7e0b 100644 +--- a/third_party/zlib/google/zip_reader.h ++++ b/third_party/zlib/google/zip_reader.h +@@ -18,7 +18,7 @@ + #include "base/numerics/safe_conversions.h" + #include "base/time/time.h" + +-#if defined(USE_SYSTEM_MINIZIP) ++#if 1//defined(USE_SYSTEM_MINIZIP) + #include + #else + #include "third_party/zlib/contrib/minizip/unzip.h" +diff --git a/third_party/zlib/google/zip_writer.h b/third_party/zlib/google/zip_writer.h +index aa3c965d9..f471c73b5 100644 +--- a/third_party/zlib/google/zip_writer.h ++++ b/third_party/zlib/google/zip_writer.h +@@ -13,7 +13,7 @@ + #include "build/build_config.h" + #include "third_party/zlib/google/zip.h" + +-#if defined(USE_SYSTEM_MINIZIP) ++#if 1//defined(USE_SYSTEM_MINIZIP) + #include + #include + #else -- cgit v1.2.3