From b06bdd4251319b15f1129835546de09c1f703ac9 Mon Sep 17 00:00:00 2001 From: sergio Date: Fri, 26 Jun 2026 11:36:39 -0400 Subject: [PATCH] =?UTF-8?q?Etapa=20G:=20fuel-7=20.patch=20acompa=C3=B1ante?= =?UTF-8?q?=20a=20la=20cola?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- recipes/incoming/use-zlib.patch | 95 +++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 recipes/incoming/use-zlib.patch diff --git a/recipes/incoming/use-zlib.patch b/recipes/incoming/use-zlib.patch new file mode 100644 index 00000000..61cad326 --- /dev/null +++ b/recipes/incoming/use-zlib.patch @@ -0,0 +1,95 @@ +Build against system-provided zlib library. + +--- a/duckscript_sdk/Cargo.toml ++++ b/duckscript_sdk/Cargo.toml +@@ -24,7 +24,7 @@ + + [dependencies] + attohttpc = { version = "^0.28", default-features = false, features = [ +- "compress", ++ "compress-zlib", + ] } + base64 = "^0.22" + cfg-if = "^1" +@@ -49,7 +49,7 @@ + whoami = "^1" + zip = { version = "^2", default-features = false, features = [ + "bzip2", +- "deflate", ++ "deflate-zlib", + "time", + ] } + +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -380,6 +380,7 @@ + checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" + dependencies = [ + "crc32fast", ++ "libz-sys", + "miniz_oxide", + ] + +@@ -653,18 +654,23 @@ + checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" + + [[package]] ++name = "libz-sys" ++version = "1.1.20" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" ++dependencies = [ ++ "cc", ++ "pkg-config", ++ "vcpkg", ++] ++ ++[[package]] + name = "linux-raw-sys" + version = "0.4.14" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" + + [[package]] +-name = "lockfree-object-pool" +-version = "0.1.6" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" +- +-[[package]] + name = "log" + version = "0.4.22" + source = "registry+https://github.com/rust-lang/crates.io-index" +@@ -1064,12 +1070,6 @@ + checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + + [[package]] +-name = "simd-adler32" +-version = "0.3.7" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" +- +-[[package]] + name = "spin" + version = "0.9.8" + source = "registry+https://github.com/rust-lang/crates.io-index" +@@ -1571,19 +1571,4 @@ + "memchr", + "thiserror", + "time", +- "zopfli", +-] +- +-[[package]] +-name = "zopfli" +-version = "0.8.1" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" +-dependencies = [ +- "bumpalo", +- "crc32fast", +- "lockfree-object-pool", +- "log", +- "once_cell", +- "simd-adler32", + ]