From 513d8b8d632b89a61163737661509b4b16289dcf Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Fri, 16 Sep 2022 18:39:48 -0400 Subject: minizip? --- www-client/chromium/Manifest | 3 +- www-client/chromium/chromium-107.0.5300.0.ebuild | 1 + .../chromium/files/chromium-107-minizip.patch | 147 +++++++++++++++++++++ 3 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 www-client/chromium/files/chromium-107-minizip.patch (limited to 'www-client/chromium') diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index 8be67ff..0f85bc1 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -8,6 +8,7 @@ AUX chromium-106-browser-ui-include.patch 396 BLAKE2B c086dd3aec25e32775cf81592a AUX chromium-106-minizip.patch 6861 BLAKE2B 062d8398e9ebd9815ea9bb081a358af70560c15f571e13a691f208f7416055680088954c9f33dce46b9d425cf6eef66fbe17b67b7b6ddfa5807a44b1dba522cc SHA512 bfce692e2d140c1aaf1f6d82edc0f607993aac79a929bdc98b3a6901249faa5511ebbe85a429ca07b90d3d40e8e0a851f74a538b9741c6932d2bfea091748352 AUX chromium-106-power_bookmarks-include.patch 690 BLAKE2B eb5764731fd9529ef731472b811235f77cdc1ff82d8d373426906aae82bdb9d985311dd280f1c660dd81a7c0f43159c02c1fedfaadabfaf785c2beafeffdcd4c SHA512 f12e719d1297bc718985e7ffede7d6437b245cc23e0d7af6f4c8efb9e9a37351b5e0aba2870a80ce312ca1dea4bdbc9179a2b8b276714b1eac206cf6b217f3ed AUX chromium-107-compiler.patch 9377 BLAKE2B cdce870f1f9287ea1bc72a8a12023337b2365c0a496bf80416c6c7c5fa4a79c57c8a962e0203bbb709bc5d1ce4ab9ba9deb9bbe2041af46557e7422f8389a843 SHA512 1ef149dc4d88b9915dbc41c00fa89163cc527904dd3cd3e0cf9fe06955f69b4c38222ddc831cefccff8dd8124a2ea5f87733dfb597bd3e4081fe3d961708c679 +AUX chromium-107-minizip.patch 6848 BLAKE2B 89dba98247ced7181a8a287e592629472e4593be9305b01169fbca35416b4bc7d3c97a1f2db8ec40ba4d02092c095a19e5a3eedbf15ceb000d4f25b43cdc470c SHA512 7c692a09b3786f3f5526344e006a135e011df0cc7a8618cb246d0529f3a4ac91e00393bbe545203a9acf81484fb00fe662e0fe60530f09d527fe90f96f23fc81 AUX chromium-107-v8-wasm-modcompiler-include.patch 318 BLAKE2B 0f691e1f5f131772e2f119f19326dd199c619ca9450cc6b00bd46930d1bd05ddee5a30d7362df21a3be3c99ba795390251ad69b89fe2ab0321e87bd67c363bc2 SHA512 f9e1babdb22545a4910174ffd6bbaa300e83a2c4dd9fef86f43da3fc68e32f8336c975bfa9687239f8a6ef2bee3ee68db864334aad89690b12533edf5df86b9a AUX chromium-78-protobuf-RepeatedPtrField-export.patch 694 BLAKE2B 3fffcb6a7289bac848b89275a9f76e4302042362fa9bcf2689df01e0a00806c7e838210fa8696ee8e2134127ec4cfb5c3b632e2739c225f8e9586e01de7035ce SHA512 e3a80775d958740eedc7c3df0e9dd12b0e6a51ccf871a2085ab77246814e748428133d27c60322a102eb8f50bb65fc2c607e0d2665a92393be55befcbf566ab0 AUX chromium-93-InkDropHost-crash.patch 1134 BLAKE2B 1593c406c48b629ea3170a518cf86e936af36c554bc97a380324ab6fc930e49a359dc3ef6787ab08314a6a8f5da85714b0fa9d8589d6a46b1d06cbbd7e401f22 SHA512 474d7f55505e1275238d71d1723d74a66fc9f27a16ed293aa80ffefbe5500cd65a0bf13ec76a9bca0334a245f22120099fb367d12b93adc14500104d11cd3bff @@ -24,4 +25,4 @@ DIST chromium-106.0.5231.2.tar.xz 1615028732 BLAKE2B 3d3bad9340e7d4fadbed9f406e3 DIST chromium-107.0.5300.0.tar.xz 1689388040 BLAKE2B e9862c832bd7b0479cf8a720fc922f15f01b2492c0cee523523cfd7ace28ca6e1246d913bb57e5201a992085ace5697e1b94c97fa5fe3c05d0cb2fed241b0a09 SHA512 50e763f2054acb43172cf8e56c27640a407f1d516a5a48741213da9b838d29b5566c57d2c3f53b0b0c4ed25f203c96befe3fcd009aa564e7af2561439c5e164a EBUILD chromium-105.0.5176.3.ebuild 32666 BLAKE2B 45c08cf6ecd6425ea1f1b38639ca9f8c6b33794acb2a97096b68ce0d4650da28a69bff4496222025baaebc6265e186cf5bc087f759dff00771663d6e11773cff SHA512 d530d5caa7645735a99784c7de13c02b82187f909b7a99eeabb7b921ca146669469d4fd102a6d37d312bfa85e905050281ac1cf23502616e82df4a16ae336fc8 EBUILD chromium-106.0.5231.2.ebuild 32772 BLAKE2B b2891e3e0467ca8accdf54c3a706dac1925b5643aa4de7bb6c8375be50a6c0567b00b8b6695469d6e431409d8e731556fc2b588c393592cdb2943b55b4c72d54 SHA512 4378f7c53c371f038c71c436bafd8907108b73999109a07f9b0da5e2b9897dc59e06c5cad5bbc911bd1b9bcc60744ff9942e9c22e43f5e06cad479ad87d3b77a -EBUILD chromium-107.0.5300.0.ebuild 32595 BLAKE2B d6ff0f4d9da148efc1b1967f87786faccde7e9f3707e5a7f9b6d0ebac66df43fdfd36e7a28a7d6d76482112185e5307d9e2431f2a999506d77ab4e3bb4607e24 SHA512 dba499674d73a9e7ebb4fc137104c9a4c6659b492f97431e8e21a9b200639b87672328f686c40f76d9ff74945d738b44a8e22af61f48069dec6c0d0f71dca9aa +EBUILD chromium-107.0.5300.0.ebuild 32638 BLAKE2B ebd6e58489f093d16a01ddc72fb22c897ecfe5357d251741fe99e4154e979976421e278a3b7c6b72b9555c25d07d3e435518afaf49fb57fe2a933d45ec0299a9 SHA512 512c3a4f5cb1e817d298f704f75f44e04216d7da3fdcc0db3e4a1d91e2614744359d734d303775e0033c16fb96fc8ddc2d5963964cdea3e4ca01afea660e0856 diff --git a/www-client/chromium/chromium-107.0.5300.0.ebuild b/www-client/chromium/chromium-107.0.5300.0.ebuild index dd4a6ad..e2c7bab 100644 --- a/www-client/chromium/chromium-107.0.5300.0.ebuild +++ b/www-client/chromium/chromium-107.0.5300.0.ebuild @@ -242,6 +242,7 @@ src_prepare() { "${FILESDIR}/chromium-107-compiler.patch" "${FILESDIR}/chromium-103-VirtualCursor-std-layout.patch" "${FILESDIR}/chromium-107-v8-wasm-modcompiler-include.patch" + "${FILESDIR}/chromium-107-minizip.patch" "${FILESDIR}/chromium-93-InkDropHost-crash.patch" "${FILESDIR}/chromium-98-EnumTable-crash.patch" 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